out-of-tokyo/picothru-prototype — pull request #10 by dai---chi (2014-09-28 19:46:25+00:00)
Title: Merge amounts to response in purchase

## 概要
iPad側 で購入した個数を表示するために、レスポンス情報に個数 ( `amount` ) を追加しました

## 変更後のレスポンス例

```
{
"purchased_products": [
{
"amount": 1,
"barcode_id": 4903326112852,
"category": 0,
"id": 1,
"price": 108,
"stock": -4,
"store_id": 1,
"product_id": 1,
"created_at": "2014-09-29T04:13:31.000+09:00",
"updated_at": "2014-09-29T04:13:31.000+09:00",
"name": "サクサクしっとりチョコ"
},
{
"amount": 1,
"barcode_id": 4903326112853,
"category": 0,
"id": 2,
"price": 208,
"stock": -2,
"store_id": 1,
"product_id": 2,
"created_at": "2014-09-29T04:13:31.000+09:00",
"updated_at": "2014-09-29T04:13:31.000+09:00",
"name": "ぷりぷり鮭おにぎり"
}
],
"response_from_webpay": true,
"response_from_pos": true
}
```