peddler 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mws/cart_information/client.rb +2 -1
- data/lib/mws/customer_information/client.rb +2 -1
- data/lib/mws/feeds/client.rb +2 -0
- data/lib/mws/fulfillment_inbound_shipment/client.rb +2 -1
- data/lib/mws/fulfillment_inventory/client.rb +2 -1
- data/lib/mws/fulfillment_outbound_shipment/client.rb +2 -1
- data/lib/mws/off_amazon_payments/client.rb +3 -2
- data/lib/mws/orders/client.rb +2 -1
- data/lib/mws/products/client.rb +2 -1
- data/lib/mws/recommendations/client.rb +2 -1
- data/lib/mws/reports/client.rb +2 -0
- data/lib/mws/sellers/client.rb +2 -1
- data/lib/mws/subscriptions/client.rb +2 -1
- data/lib/mws/webstore/client.rb +2 -1
- data/lib/peddler/client.rb +28 -3
- data/lib/peddler/operation.rb +5 -1
- data/lib/peddler/version.rb +1 -1
- data/test/helper.rb +8 -2
- data/test/integration/test_fulfillment_inbound_shipment.rb +13 -0
- data/test/integration/test_sellers.rb +0 -7
- data/test/{mws.yml → mws.yml.example} +0 -0
- data/test/unit/peddler/test_operation.rb +6 -0
- data/test/vcr_cassettes/CartInformation.yml +37 -38
- data/test/vcr_cassettes/CustomerInformation.yml +37 -38
- data/test/vcr_cassettes/Feeds.yml +534 -131
- data/test/vcr_cassettes/FulfillmentInboundShipment.yml +325 -48
- data/test/vcr_cassettes/FulfillmentInventory.yml +129 -133
- data/test/vcr_cassettes/FulfillmentOutboundShipment.yml +37 -40
- data/test/vcr_cassettes/OffAmazonPayments.yml +37 -37
- data/test/vcr_cassettes/Orders.yml +37 -39
- data/test/vcr_cassettes/Products.yml +1991 -1392
- data/test/vcr_cassettes/Recommendations.yml +2020 -8987
- data/test/vcr_cassettes/Reports.yml +1447 -396
- data/test/vcr_cassettes/Sellers.yml +36 -242
- data/test/vcr_cassettes/Subscriptions.yml +214 -227
- data/test/vcr_cassettes/Webstore.yml +106 -106
- metadata +4 -4
@@ -2,28 +2,28 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://mws.amazonservices.ca/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=
|
5
|
+
uri: https://mws.amazonservices.ca/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A34Z&Version=2014-03-01&Signature=1%2FL5NDm5Ouf2bLwtGovQmn54OtIeeZHLfzzBQJfZ6P0%3D
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Jeff/1.0
|
11
|
+
- Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
15
15
|
message:
|
16
16
|
headers:
|
17
17
|
Date:
|
18
|
-
-
|
18
|
+
- Sat, 28 Mar 2015 18:10:34 GMT
|
19
19
|
Server:
|
20
20
|
- AmazonMWS
|
21
21
|
x-mws-request-id:
|
22
|
-
-
|
22
|
+
- 59802c9a-9289-44c6-b669-e5369fa00ad4
|
23
23
|
x-mws-timestamp:
|
24
|
-
- '
|
24
|
+
- '2015-03-28T18:10:35.588Z'
|
25
25
|
x-mws-response-context:
|
26
|
-
-
|
26
|
+
- 0HZN4uk7KV5jLsO7w7F6B1bvstdu0WG+8RnAx56Hvoe2UbrejWTuhSkCyt0WR/tR0kRjzVhCHAs=
|
27
27
|
Content-Type:
|
28
28
|
- text/xml
|
29
29
|
Content-Length:
|
@@ -37,38 +37,38 @@ http_interactions:
|
|
37
37
|
<GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
|
38
38
|
<GetServiceStatusResult>
|
39
39
|
<Status>GREEN</Status>
|
40
|
-
<Timestamp>
|
40
|
+
<Timestamp>2015-03-28T18:10:35.588Z</Timestamp>
|
41
41
|
</GetServiceStatusResult>
|
42
42
|
<ResponseMetadata>
|
43
|
-
<RequestId>
|
43
|
+
<RequestId>59802c9a-9289-44c6-b669-e5369fa00ad4</RequestId>
|
44
44
|
</ResponseMetadata>
|
45
45
|
</GetServiceStatusResponse>
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Sat, 28 Mar 2015 18:10:35 GMT
|
48
48
|
- request:
|
49
49
|
method: post
|
50
|
-
uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=
|
50
|
+
uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A35Z&Version=2014-03-01&Signature=0Z0UxCRnrGZoS%2F%2Bjtn%2F3g0dYYiC4fkyDKQayAkIPtzE%3D
|
51
51
|
body:
|
52
52
|
encoding: US-ASCII
|
53
53
|
string: ''
|
54
54
|
headers:
|
55
55
|
User-Agent:
|
56
|
-
- Jeff/1.0
|
56
|
+
- Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
|
57
57
|
response:
|
58
58
|
status:
|
59
59
|
code: 200
|
60
60
|
message:
|
61
61
|
headers:
|
62
62
|
Date:
|
63
|
-
-
|
63
|
+
- Sat, 28 Mar 2015 18:10:35 GMT
|
64
64
|
Server:
|
65
65
|
- AmazonMWS
|
66
66
|
x-mws-request-id:
|
67
|
-
-
|
67
|
+
- dc5ffe87-e14f-4eca-9e25-fa23c3e3fd00
|
68
68
|
x-mws-timestamp:
|
69
|
-
- '
|
69
|
+
- '2015-03-28T18:10:36.060Z'
|
70
70
|
x-mws-response-context:
|
71
|
-
-
|
71
|
+
- 3RYkG8GUnx0ZPPkdNCgLgc47/3p3YpZ3dg/m9B81hInJwHOAUzkmU+by4tCAnWWSRjo9L8oWTxA=
|
72
72
|
Content-Type:
|
73
73
|
- text/xml
|
74
74
|
Content-Length:
|
@@ -82,39 +82,38 @@ http_interactions:
|
|
82
82
|
<GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
|
83
83
|
<GetServiceStatusResult>
|
84
84
|
<Status>GREEN</Status>
|
85
|
-
<Timestamp>
|
85
|
+
<Timestamp>2015-03-28T18:10:36.060Z</Timestamp>
|
86
86
|
</GetServiceStatusResult>
|
87
87
|
<ResponseMetadata>
|
88
|
-
<RequestId>
|
88
|
+
<RequestId>dc5ffe87-e14f-4eca-9e25-fa23c3e3fd00</RequestId>
|
89
89
|
</ResponseMetadata>
|
90
90
|
</GetServiceStatusResponse>
|
91
91
|
http_version:
|
92
|
-
recorded_at:
|
92
|
+
recorded_at: Sat, 28 Mar 2015 18:10:36 GMT
|
93
93
|
- request:
|
94
94
|
method: post
|
95
|
-
uri: https://mws.amazonservices.jp/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=
|
95
|
+
uri: https://mws.amazonservices.jp/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A36Z&Version=2014-03-01&Signature=nwmUlmdXDSzXRlMIkg3H%2FRVk8WFGs%2FkJYb%2FqMSjQi8U%3D
|
96
96
|
body:
|
97
97
|
encoding: US-ASCII
|
98
98
|
string: ''
|
99
99
|
headers:
|
100
100
|
User-Agent:
|
101
|
-
- Jeff/1.0
|
101
|
+
- Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
|
102
102
|
response:
|
103
103
|
status:
|
104
104
|
code: 200
|
105
105
|
message:
|
106
106
|
headers:
|
107
107
|
Date:
|
108
|
-
-
|
108
|
+
- Sat, 28 Mar 2015 18:10:36 GMT
|
109
109
|
Server:
|
110
110
|
- AmazonMWS
|
111
111
|
x-mws-request-id:
|
112
|
-
-
|
112
|
+
- 65b89734-45cb-40c6-aa47-75fdc8545e7c
|
113
113
|
x-mws-timestamp:
|
114
|
-
- '
|
114
|
+
- '2015-03-28T18:10:37.070Z'
|
115
115
|
x-mws-response-context:
|
116
|
-
-
|
117
|
-
nB78OAwm7A==
|
116
|
+
- vcnuvV/aIuWw+RhEJW+ClP7Z/nbCFXprFN9c0lk1b0PSQ56Sgn18fWHionCJyjAzfLkJjx/zV9Y=
|
118
117
|
Content-Type:
|
119
118
|
- text/xml
|
120
119
|
Content-Length:
|
@@ -128,38 +127,38 @@ http_interactions:
|
|
128
127
|
<GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
|
129
128
|
<GetServiceStatusResult>
|
130
129
|
<Status>GREEN</Status>
|
131
|
-
<Timestamp>
|
130
|
+
<Timestamp>2015-03-28T18:10:37.070Z</Timestamp>
|
132
131
|
</GetServiceStatusResult>
|
133
132
|
<ResponseMetadata>
|
134
|
-
<RequestId>
|
133
|
+
<RequestId>65b89734-45cb-40c6-aa47-75fdc8545e7c</RequestId>
|
135
134
|
</ResponseMetadata>
|
136
135
|
</GetServiceStatusResponse>
|
137
136
|
http_version:
|
138
|
-
recorded_at:
|
137
|
+
recorded_at: Sat, 28 Mar 2015 18:10:37 GMT
|
139
138
|
- request:
|
140
139
|
method: post
|
141
|
-
uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=
|
140
|
+
uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A37Z&Version=2014-03-01&Signature=1gtD52L%2FPTkcgT%2FIOt40amQ1%2ByJXM9bXkqJz8ubiHf4%3D
|
142
141
|
body:
|
143
142
|
encoding: US-ASCII
|
144
143
|
string: ''
|
145
144
|
headers:
|
146
145
|
User-Agent:
|
147
|
-
- Jeff/1.0
|
146
|
+
- Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
|
148
147
|
response:
|
149
148
|
status:
|
150
149
|
code: 200
|
151
150
|
message:
|
152
151
|
headers:
|
153
152
|
Date:
|
154
|
-
-
|
153
|
+
- Sat, 28 Mar 2015 18:10:37 GMT
|
155
154
|
Server:
|
156
155
|
- AmazonMWS
|
157
156
|
x-mws-request-id:
|
158
|
-
-
|
157
|
+
- b1686c05-3b19-498f-90ba-b686458f5652
|
159
158
|
x-mws-timestamp:
|
160
|
-
- '
|
159
|
+
- '2015-03-28T18:10:37.790Z'
|
161
160
|
x-mws-response-context:
|
162
|
-
-
|
161
|
+
- N0+1Og93yvLAFUErZfK4zJVPEPvWnxXKtBhYQGo1FJJw5ux8YUfPGXN4a0Fkd6L8KsR/G5LPiW8=
|
163
162
|
Content-Type:
|
164
163
|
- text/xml
|
165
164
|
Content-Length:
|
@@ -173,12 +172,12 @@ http_interactions:
|
|
173
172
|
<GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
|
174
173
|
<GetServiceStatusResult>
|
175
174
|
<Status>GREEN</Status>
|
176
|
-
<Timestamp>
|
175
|
+
<Timestamp>2015-03-28T18:10:37.790Z</Timestamp>
|
177
176
|
</GetServiceStatusResult>
|
178
177
|
<ResponseMetadata>
|
179
|
-
<RequestId>
|
178
|
+
<RequestId>b1686c05-3b19-498f-90ba-b686458f5652</RequestId>
|
180
179
|
</ResponseMetadata>
|
181
180
|
</GetServiceStatusResponse>
|
182
181
|
http_version:
|
183
|
-
recorded_at:
|
184
|
-
recorded_with: VCR 2.9.
|
182
|
+
recorded_at: Sat, 28 Mar 2015 18:10:38 GMT
|
183
|
+
recorded_with: VCR 2.9.3
|