peddler 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -22
  3. data/lib/mws/fulfillment_outbound_shipment/client.rb +12 -5
  4. data/lib/mws/merchant_fulfillment/client.rb +2 -2
  5. data/lib/mws/orders/client.rb +9 -1
  6. data/lib/mws/products/client.rb +14 -1
  7. data/lib/mws/reports/client.rb +1 -1
  8. data/lib/mws.rb +0 -3
  9. data/lib/peddler/client.rb +12 -19
  10. data/lib/peddler/errors/builder.rb +20 -0
  11. data/lib/peddler/errors/error.rb +13 -0
  12. data/lib/peddler/errors/handler.rb +45 -0
  13. data/lib/peddler/errors/parser.rb +28 -0
  14. data/lib/peddler/flat_file_parser.rb +1 -1
  15. data/lib/peddler/marketplace.rb +2 -2
  16. data/lib/peddler/parser.rb +0 -1
  17. data/lib/peddler/structured_list.rb +1 -0
  18. data/lib/peddler/version.rb +1 -1
  19. data/lib/peddler/xml_parser.rb +1 -1
  20. data/test/helper.rb +1 -82
  21. data/test/integration/test_errors.rb +36 -0
  22. data/test/integration/test_feeds.rb +1 -1
  23. data/test/integration/test_fulfillment_inbound_shipment.rb +1 -1
  24. data/test/integration/test_fulfillment_inventory.rb +1 -1
  25. data/test/integration/test_fulfillment_outbound_shipment.rb +1 -1
  26. data/test/integration/test_merchant_fulfillment.rb +1 -1
  27. data/test/integration/test_off_amazon_payments.rb +1 -1
  28. data/test/integration/test_orders.rb +3 -1
  29. data/test/integration/test_products.rb +1 -1
  30. data/test/integration/test_recommendations.rb +2 -4
  31. data/test/integration/test_reports.rb +1 -1
  32. data/test/integration/test_sellers.rb +1 -1
  33. data/test/integration/test_subscriptions.rb +1 -1
  34. data/test/integration_helper.rb +41 -0
  35. data/test/mws.yml +28 -8
  36. data/test/mws.yml.example +21 -1
  37. data/test/recorder.rb +34 -0
  38. data/test/unit/mws/test_fulfillment_inbound_shipment_client.rb +2 -1
  39. data/test/unit/mws/test_fulfillment_outbound_shipment_client.rb +9 -2
  40. data/test/unit/mws/test_orders_client.rb +12 -0
  41. data/test/unit/mws/test_products_client.rb +37 -0
  42. data/test/unit/peddler/errors/test_builder.rb +16 -0
  43. data/test/unit/peddler/errors/test_error.rb +16 -0
  44. data/test/unit/peddler/errors/test_handler.rb +60 -0
  45. data/test/unit/peddler/{test_error_parser.rb → errors/test_parser.rb} +3 -3
  46. data/test/unit/peddler/test_client.rb +3 -3
  47. data/test/unit/peddler/test_flat_file_parser.rb +39 -30
  48. data/test/unit/peddler/test_structured_list.rb +5 -0
  49. data/test/unit/peddler/test_vcr_matcher.rb +4 -0
  50. data/test/unit/test_mws.rb +1 -1
  51. data/test/vcr_cassettes/CartInformation.yml +263 -13
  52. data/test/vcr_cassettes/CustomerInformation.yml +255 -5
  53. data/test/vcr_cassettes/Errors.yml +885 -0
  54. data/test/vcr_cassettes/Feeds.yml +5588 -17
  55. data/test/vcr_cassettes/FulfillmentInboundShipment.yml +3474 -39
  56. data/test/vcr_cassettes/FulfillmentInventory.yml +504 -9
  57. data/test/vcr_cassettes/FulfillmentOutboundShipment.yml +255 -5
  58. data/test/vcr_cassettes/MerchantFulfillment.yml +254 -4
  59. data/test/vcr_cassettes/OffAmazonPayments.yml +255 -5
  60. data/test/vcr_cassettes/Orders.yml +2696 -36
  61. data/test/vcr_cassettes/Products.yml +5534 -180
  62. data/test/vcr_cassettes/Recommendations.yml +847 -9
  63. data/test/vcr_cassettes/Reports.yml +3994 -101
  64. data/test/vcr_cassettes/Sellers.yml +255 -5
  65. data/test/vcr_cassettes/Subscriptions.yml +875 -13
  66. metadata +37 -27
  67. data/lib/mws/cart_information/client.rb +0 -74
  68. data/lib/mws/cart_information.rb +0 -1
  69. data/lib/mws/customer_information/client.rb +0 -80
  70. data/lib/mws/customer_information.rb +0 -1
  71. data/lib/mws/webstore/client.rb +0 -89
  72. data/lib/mws/webstore.rb +0 -1
  73. data/lib/peddler/error_parser.rb +0 -26
  74. data/test/integration/test_cart_information.rb +0 -11
  75. data/test/integration/test_customer_information.rb +0 -11
  76. data/test/integration/test_webstore.rb +0 -18
  77. data/test/unit/mws/test_cart_information_client.rb +0 -61
  78. data/test/unit/mws/test_customer_information_client.rb +0 -59
  79. data/test/unit/mws/test_webstore_client.rb +0 -101
  80. data/test/vcr_cassettes/Webstore.yml +0 -383
@@ -5,14 +5,14 @@ http_interactions:
5
5
  uri: https://mws.amazonservices.ca/CartInformation/2014-03-01
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A17Z&Version=2014-03-01&Signature=Ld91dAS8OXCk9NNcjb9d4AyEerTSfVMGDAdp7EHmCWU%3D'
8
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A17Z&Version=2014-03-01&Signature=Ld91dAS8OXCk9NNcjb9d4AyEerTSfVMGDAdp7EHmCWU%3D
9
9
  headers:
10
10
  User-Agent:
11
11
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
12
12
  response:
13
13
  status:
14
14
  code: 200
15
- message:
15
+ message:
16
16
  headers:
17
17
  Date:
18
18
  - Sat, 28 Mar 2015 18:10:17 GMT
@@ -43,21 +43,21 @@ http_interactions:
43
43
  <RequestId>2b0de813-3f60-4491-bb6e-d0cf3357bfe4</RequestId>
44
44
  </ResponseMetadata>
45
45
  </GetServiceStatusResponse>
46
- http_version:
46
+ http_version:
47
47
  recorded_at: Sat, 28 Mar 2015 18:10:18 GMT
48
48
  - request:
49
49
  method: post
50
50
  uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01
51
51
  body:
52
52
  encoding: US-ASCII
53
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A18Z&Version=2014-03-01&Signature=d4vyZzrPNWdYbhXs5L01DT%2FoERrRfTDWHwyAlSpZb0I%3D'
53
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A18Z&Version=2014-03-01&Signature=d4vyZzrPNWdYbhXs5L01DT%2FoERrRfTDWHwyAlSpZb0I%3D
54
54
  headers:
55
55
  User-Agent:
56
56
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
57
57
  response:
58
58
  status:
59
59
  code: 200
60
- message:
60
+ message:
61
61
  headers:
62
62
  Date:
63
63
  - Sat, 28 Mar 2015 18:10:18 GMT
@@ -88,21 +88,21 @@ http_interactions:
88
88
  <RequestId>9e731e3c-39f8-48b0-a373-5b959922cb09</RequestId>
89
89
  </ResponseMetadata>
90
90
  </GetServiceStatusResponse>
91
- http_version:
91
+ http_version:
92
92
  recorded_at: Sat, 28 Mar 2015 18:10:18 GMT
93
93
  - request:
94
94
  method: post
95
95
  uri: https://mws.amazonservices.jp/CartInformation/2014-03-01
96
96
  body:
97
97
  encoding: US-ASCII
98
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A18Z&Version=2014-03-01&Signature=SAtKF%2FgZvRKDqsTqHPIsaSkE4xSeqa9jroOreysDc1I%3D'
98
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A18Z&Version=2014-03-01&Signature=SAtKF%2FgZvRKDqsTqHPIsaSkE4xSeqa9jroOreysDc1I%3D
99
99
  headers:
100
100
  User-Agent:
101
101
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
102
102
  response:
103
103
  status:
104
104
  code: 200
105
- message:
105
+ message:
106
106
  headers:
107
107
  Date:
108
108
  - Sat, 28 Mar 2015 18:10:19 GMT
@@ -133,21 +133,21 @@ http_interactions:
133
133
  <RequestId>f3fb4bf0-5591-4e61-a7d8-f6a94b253f76</RequestId>
134
134
  </ResponseMetadata>
135
135
  </GetServiceStatusResponse>
136
- http_version:
136
+ http_version:
137
137
  recorded_at: Sat, 28 Mar 2015 18:10:20 GMT
138
138
  - request:
139
139
  method: post
140
140
  uri: https://mws.amazonservices.com/CartInformation/2014-03-01
141
141
  body:
142
142
  encoding: US-ASCII
143
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A20Z&Version=2014-03-01&Signature=W7G0kqHOMU91l%2B731hPIwjZbuNfk%2FuUZh4yEKkcuZKE%3D'
143
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A20Z&Version=2014-03-01&Signature=W7G0kqHOMU91l%2B731hPIwjZbuNfk%2FuUZh4yEKkcuZKE%3D
144
144
  headers:
145
145
  User-Agent:
146
146
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
147
147
  response:
148
148
  status:
149
149
  code: 200
150
- message:
150
+ message:
151
151
  headers:
152
152
  Date:
153
153
  - Sat, 28 Mar 2015 18:10:20 GMT
@@ -178,6 +178,256 @@ http_interactions:
178
178
  <RequestId>807199e2-f19d-4533-b665-99a61c0a5c71</RequestId>
179
179
  </ResponseMetadata>
180
180
  </GetServiceStatusResponse>
181
- http_version:
181
+ http_version:
182
182
  recorded_at: Sat, 28 Mar 2015 18:10:20 GMT
183
- recorded_with: VCR 2.9.3
183
+ - request:
184
+ method: post
185
+ uri: https://mws.amazonservices.com.mx/CartInformation/2014-03-01
186
+ body:
187
+ encoding: UTF-8
188
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A36%3A40Z&Version=2014-03-01&Signature=Tk7nFqDn9DB4%2B9%2FiJRdY6NZXW2PFdxWSmMcNOFpUWTg%3D
189
+ headers:
190
+ User-Agent:
191
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
192
+ Content-Type:
193
+ - application/x-www-form-urlencoded
194
+ response:
195
+ status:
196
+ code: 200
197
+ message:
198
+ headers:
199
+ Server:
200
+ - Server
201
+ Date:
202
+ - Mon, 23 May 2016 12:36:41 GMT
203
+ Content-Type:
204
+ - text/xml
205
+ Content-Length:
206
+ - '390'
207
+ Connection:
208
+ - keep-alive
209
+ x-mws-request-id:
210
+ - 1e53fdfa-44dd-4f91-8214-8e6085535bea
211
+ x-mws-timestamp:
212
+ - '2016-05-23T12:36:41.794Z'
213
+ x-mws-response-context:
214
+ - SUihqf278+y8dorMLGDSVVbL73Lhz1fit9cL03c+s7dsm2TIPnMKjRmgQHJIsPWHp27/K4t5LgRm
215
+ pfN2YF6+kw==
216
+ Vary:
217
+ - Accept-Encoding,User-Agent
218
+ body:
219
+ encoding: UTF-8
220
+ string: |
221
+ <?xml version="1.0"?>
222
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
223
+ <GetServiceStatusResult>
224
+ <Status>GREEN</Status>
225
+ <Timestamp>2016-05-23T12:36:41.794Z</Timestamp>
226
+ </GetServiceStatusResult>
227
+ <ResponseMetadata>
228
+ <RequestId>1e53fdfa-44dd-4f91-8214-8e6085535bea</RequestId>
229
+ </ResponseMetadata>
230
+ </GetServiceStatusResponse>
231
+ http_version:
232
+ recorded_at: Mon, 23 May 2016 12:36:42 GMT
233
+ - request:
234
+ method: post
235
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01
236
+ body:
237
+ encoding: UTF-8
238
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A36%3A42Z&Version=2014-03-01&Signature=zN1E2KOQnB1%2BhCW13NFgfM8%2BzJ124zPIm20B%2BVjDdqY%3D
239
+ headers:
240
+ User-Agent:
241
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
242
+ Content-Type:
243
+ - application/x-www-form-urlencoded
244
+ response:
245
+ status:
246
+ code: 200
247
+ message:
248
+ headers:
249
+ Server:
250
+ - Server
251
+ Date:
252
+ - Mon, 23 May 2016 12:36:42 GMT
253
+ Content-Type:
254
+ - text/xml
255
+ Content-Length:
256
+ - '390'
257
+ Connection:
258
+ - keep-alive
259
+ x-mws-request-id:
260
+ - 671668a3-b3d4-4def-85a7-e8e3f3d99232
261
+ x-mws-timestamp:
262
+ - '2016-05-23T12:36:42.414Z'
263
+ x-mws-response-context:
264
+ - 5lTaA+R8yZ7ZZi75XyyEAHDhtgOieOaNPux2grukj1NGCpoqD4sW9mSooaOdNbKk33JzKjgWHL04
265
+ 1ZxBnYTmYQ==
266
+ Vary:
267
+ - Accept-Encoding,User-Agent
268
+ body:
269
+ encoding: UTF-8
270
+ string: |
271
+ <?xml version="1.0"?>
272
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
273
+ <GetServiceStatusResult>
274
+ <Status>GREEN</Status>
275
+ <Timestamp>2016-05-23T12:36:42.414Z</Timestamp>
276
+ </GetServiceStatusResult>
277
+ <ResponseMetadata>
278
+ <RequestId>671668a3-b3d4-4def-85a7-e8e3f3d99232</RequestId>
279
+ </ResponseMetadata>
280
+ </GetServiceStatusResponse>
281
+ http_version:
282
+ recorded_at: Mon, 23 May 2016 12:36:42 GMT
283
+ - request:
284
+ method: post
285
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01
286
+ body:
287
+ encoding: UTF-8
288
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A36%3A42Z&Version=2014-03-01&Signature=n%2FyWxKdk1zAyN4WMU%2BzjWlf9I1B69JYVDJh2JpL5uTo%3D
289
+ headers:
290
+ User-Agent:
291
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
292
+ Content-Type:
293
+ - application/x-www-form-urlencoded
294
+ response:
295
+ status:
296
+ code: 200
297
+ message:
298
+ headers:
299
+ Server:
300
+ - Server
301
+ Date:
302
+ - Mon, 23 May 2016 12:36:42 GMT
303
+ Content-Type:
304
+ - text/xml
305
+ Content-Length:
306
+ - '390'
307
+ Connection:
308
+ - keep-alive
309
+ x-mws-request-id:
310
+ - 7ab21300-bef4-4b82-b07c-047b2b3df6b0
311
+ x-mws-timestamp:
312
+ - '2016-05-23T12:36:42.767Z'
313
+ x-mws-response-context:
314
+ - j2hhCArf+5eJ5TDCBKz5by7w9P6My7gvAgSb3DpWacOVw+7DMtMFoVun8fde2u8KvWd0aTy5CN9b
315
+ o9HakS7/Aw==
316
+ Vary:
317
+ - Accept-Encoding,User-Agent
318
+ body:
319
+ encoding: UTF-8
320
+ string: |
321
+ <?xml version="1.0"?>
322
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
323
+ <GetServiceStatusResult>
324
+ <Status>GREEN</Status>
325
+ <Timestamp>2016-05-23T12:36:42.767Z</Timestamp>
326
+ </GetServiceStatusResult>
327
+ <ResponseMetadata>
328
+ <RequestId>7ab21300-bef4-4b82-b07c-047b2b3df6b0</RequestId>
329
+ </ResponseMetadata>
330
+ </GetServiceStatusResponse>
331
+ http_version:
332
+ recorded_at: Mon, 23 May 2016 12:36:42 GMT
333
+ - request:
334
+ method: post
335
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01
336
+ body:
337
+ encoding: UTF-8
338
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A36%3A42Z&Version=2014-03-01&Signature=AY%2BsyBHSpK5JJWP5oXnho3Rf7jYJ30pGmvlGaAUnfzs%3D
339
+ headers:
340
+ User-Agent:
341
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
342
+ Content-Type:
343
+ - application/x-www-form-urlencoded
344
+ response:
345
+ status:
346
+ code: 200
347
+ message:
348
+ headers:
349
+ Server:
350
+ - Server
351
+ Date:
352
+ - Mon, 23 May 2016 12:36:43 GMT
353
+ Content-Type:
354
+ - text/xml
355
+ Content-Length:
356
+ - '390'
357
+ Connection:
358
+ - keep-alive
359
+ x-mws-request-id:
360
+ - c12a82b6-f24f-4240-b360-a26e9c603a23
361
+ x-mws-timestamp:
362
+ - '2016-05-23T12:36:43.014Z'
363
+ x-mws-response-context:
364
+ - guaf7EL+GSeps4Bj6DNHNt5hNDzO182XVmOgyin9YbVzyyH/VRE6S2CDvXM0DKbdjYHLP023SAvJ
365
+ mbyqZJEpmg==
366
+ Vary:
367
+ - Accept-Encoding,User-Agent
368
+ body:
369
+ encoding: UTF-8
370
+ string: |
371
+ <?xml version="1.0"?>
372
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
373
+ <GetServiceStatusResult>
374
+ <Status>GREEN</Status>
375
+ <Timestamp>2016-05-23T12:36:43.014Z</Timestamp>
376
+ </GetServiceStatusResult>
377
+ <ResponseMetadata>
378
+ <RequestId>c12a82b6-f24f-4240-b360-a26e9c603a23</RequestId>
379
+ </ResponseMetadata>
380
+ </GetServiceStatusResponse>
381
+ http_version:
382
+ recorded_at: Mon, 23 May 2016 12:36:43 GMT
383
+ - request:
384
+ method: post
385
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01
386
+ body:
387
+ encoding: UTF-8
388
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A36%3A43Z&Version=2014-03-01&Signature=7rJDI43OadISwA6AfpHAR6jCvV3ncXcRmU%2B%2BDHziIlY%3D
389
+ headers:
390
+ User-Agent:
391
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
392
+ Content-Type:
393
+ - application/x-www-form-urlencoded
394
+ response:
395
+ status:
396
+ code: 200
397
+ message:
398
+ headers:
399
+ Server:
400
+ - Server
401
+ Date:
402
+ - Mon, 23 May 2016 12:36:43 GMT
403
+ Content-Type:
404
+ - text/xml
405
+ Content-Length:
406
+ - '390'
407
+ Connection:
408
+ - keep-alive
409
+ x-mws-request-id:
410
+ - be5be3f9-2d71-4e62-9705-b7b7a14c25e4
411
+ x-mws-timestamp:
412
+ - '2016-05-23T12:36:43.257Z'
413
+ x-mws-response-context:
414
+ - bT8J9hjEoSE7fqR9BQBhF71qa9UPsRxl2nna3ugOqn8YhPe7pKNF1l5oVr2y/PrrlvWl1Vt9SJa+
415
+ JYVw8HyVkA==
416
+ Vary:
417
+ - Accept-Encoding,User-Agent
418
+ body:
419
+ encoding: UTF-8
420
+ string: |
421
+ <?xml version="1.0"?>
422
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
423
+ <GetServiceStatusResult>
424
+ <Status>GREEN</Status>
425
+ <Timestamp>2016-05-23T12:36:43.257Z</Timestamp>
426
+ </GetServiceStatusResult>
427
+ <ResponseMetadata>
428
+ <RequestId>be5be3f9-2d71-4e62-9705-b7b7a14c25e4</RequestId>
429
+ </ResponseMetadata>
430
+ </GetServiceStatusResponse>
431
+ http_version:
432
+ recorded_at: Mon, 23 May 2016 12:36:43 GMT
433
+ recorded_with: VCR 3.0.1
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://mws.amazonservices.ca/CustomerInformation/2014-03-01
6
6
  body:
7
7
  encoding: US-ASCII
8
- string: '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'
8
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A34Z&Version=2014-03-01&Signature=1%2FL5NDm5Ouf2bLwtGovQmn54OtIeeZHLfzzBQJfZ6P0%3D
9
9
  headers:
10
10
  User-Agent:
11
11
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -50,7 +50,7 @@ http_interactions:
50
50
  uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
51
51
  body:
52
52
  encoding: US-ASCII
53
- string: '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'
53
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A35Z&Version=2014-03-01&Signature=0Z0UxCRnrGZoS%2F%2Bjtn%2F3g0dYYiC4fkyDKQayAkIPtzE%3D
54
54
  headers:
55
55
  User-Agent:
56
56
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -95,7 +95,7 @@ http_interactions:
95
95
  uri: https://mws.amazonservices.jp/CustomerInformation/2014-03-01
96
96
  body:
97
97
  encoding: US-ASCII
98
- string: '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'
98
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A36Z&Version=2014-03-01&Signature=nwmUlmdXDSzXRlMIkg3H%2FRVk8WFGs%2FkJYb%2FqMSjQi8U%3D
99
99
  headers:
100
100
  User-Agent:
101
101
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -140,7 +140,7 @@ http_interactions:
140
140
  uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01
141
141
  body:
142
142
  encoding: US-ASCII
143
- string: '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'
143
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A10%3A37Z&Version=2014-03-01&Signature=1gtD52L%2FPTkcgT%2FIOt40amQ1%2ByJXM9bXkqJz8ubiHf4%3D
144
144
  headers:
145
145
  User-Agent:
146
146
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -180,4 +180,254 @@ http_interactions:
180
180
  </GetServiceStatusResponse>
181
181
  http_version:
182
182
  recorded_at: Sat, 28 Mar 2015 18:10:38 GMT
183
- recorded_with: VCR 2.9.3
183
+ - request:
184
+ method: post
185
+ uri: https://mws.amazonservices.com.mx/CustomerInformation/2014-03-01
186
+ body:
187
+ encoding: UTF-8
188
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A18Z&Version=2014-03-01&Signature=ulFnKcmr%2Bo3DWGZMbbUllITdAOwwNlHTbQrIcq%2FXWQE%3D
189
+ headers:
190
+ User-Agent:
191
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
192
+ Content-Type:
193
+ - application/x-www-form-urlencoded
194
+ response:
195
+ status:
196
+ code: 200
197
+ message:
198
+ headers:
199
+ Server:
200
+ - Server
201
+ Date:
202
+ - Mon, 23 May 2016 12:37:20 GMT
203
+ Content-Type:
204
+ - text/xml
205
+ Content-Length:
206
+ - '385'
207
+ Connection:
208
+ - keep-alive
209
+ x-mws-request-id:
210
+ - c1f79b32-dfa5-473e-b387-76832d787560
211
+ x-mws-timestamp:
212
+ - '2016-05-23T12:37:20.632Z'
213
+ x-mws-response-context:
214
+ - gaKrAo+3yc608ScG2XlLpw4Bj6U9Z2bKTyq3zQ06DvRMWDBmUSanifk+ADVLn18Oo/lS1I4w7eUb
215
+ srrojI3l6A==
216
+ Vary:
217
+ - Accept-Encoding,User-Agent
218
+ body:
219
+ encoding: UTF-8
220
+ string: |
221
+ <?xml version="1.0"?>
222
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
223
+ <GetServiceStatusResult>
224
+ <Status>GREEN</Status>
225
+ <Timestamp>2016-05-23T12:37:20.632Z</Timestamp>
226
+ </GetServiceStatusResult>
227
+ <ResponseMetadata>
228
+ <RequestId>c1f79b32-dfa5-473e-b387-76832d787560</RequestId>
229
+ </ResponseMetadata>
230
+ </GetServiceStatusResponse>
231
+ http_version:
232
+ recorded_at: Mon, 23 May 2016 12:37:20 GMT
233
+ - request:
234
+ method: post
235
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
236
+ body:
237
+ encoding: UTF-8
238
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A20Z&Version=2014-03-01&Signature=YO2xqZYI%2F5jCYgOq00tHWYklOU8akuk0FHY%2F0X%2F9hrI%3D
239
+ headers:
240
+ User-Agent:
241
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
242
+ Content-Type:
243
+ - application/x-www-form-urlencoded
244
+ response:
245
+ status:
246
+ code: 200
247
+ message:
248
+ headers:
249
+ Server:
250
+ - Server
251
+ Date:
252
+ - Mon, 23 May 2016 12:37:21 GMT
253
+ Content-Type:
254
+ - text/xml
255
+ Content-Length:
256
+ - '385'
257
+ Connection:
258
+ - keep-alive
259
+ x-mws-request-id:
260
+ - 7e9a7a95-6aad-41d3-87a9-54c78b0e2779
261
+ x-mws-timestamp:
262
+ - '2016-05-23T12:37:21.446Z'
263
+ x-mws-response-context:
264
+ - xZY6gkPwY+qKD0tT18brEtxP2DnzFjylUN4XXttxHtGictVH7C7lOV2k+0OjahaXhiBrt1yrocJZ
265
+ c3ASSFBMOw==
266
+ Vary:
267
+ - Accept-Encoding,User-Agent
268
+ body:
269
+ encoding: UTF-8
270
+ string: |
271
+ <?xml version="1.0"?>
272
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
273
+ <GetServiceStatusResult>
274
+ <Status>GREEN</Status>
275
+ <Timestamp>2016-05-23T12:37:21.446Z</Timestamp>
276
+ </GetServiceStatusResult>
277
+ <ResponseMetadata>
278
+ <RequestId>7e9a7a95-6aad-41d3-87a9-54c78b0e2779</RequestId>
279
+ </ResponseMetadata>
280
+ </GetServiceStatusResponse>
281
+ http_version:
282
+ recorded_at: Mon, 23 May 2016 12:37:21 GMT
283
+ - request:
284
+ method: post
285
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
286
+ body:
287
+ encoding: UTF-8
288
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A21Z&Version=2014-03-01&Signature=NhjhZ7182OzwKG0dPMRbJ5KnB4G2dRdOFCvBFISyLWE%3D
289
+ headers:
290
+ User-Agent:
291
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
292
+ Content-Type:
293
+ - application/x-www-form-urlencoded
294
+ response:
295
+ status:
296
+ code: 200
297
+ message:
298
+ headers:
299
+ Server:
300
+ - Server
301
+ Date:
302
+ - Mon, 23 May 2016 12:37:21 GMT
303
+ Content-Type:
304
+ - text/xml
305
+ Content-Length:
306
+ - '385'
307
+ Connection:
308
+ - keep-alive
309
+ x-mws-request-id:
310
+ - 73c23d8f-2566-46bb-b3c6-06be73712b8c
311
+ x-mws-timestamp:
312
+ - '2016-05-23T12:37:21.781Z'
313
+ x-mws-response-context:
314
+ - pcyZ3G7tztrajN2Uma+N0jTHCq6YnekhH1VA7XBOOxjj7he85j24nvRwYh+vtMeJJk36VU/ZF7ed
315
+ xdr095hD1w==
316
+ Vary:
317
+ - Accept-Encoding,User-Agent
318
+ body:
319
+ encoding: UTF-8
320
+ string: |
321
+ <?xml version="1.0"?>
322
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
323
+ <GetServiceStatusResult>
324
+ <Status>GREEN</Status>
325
+ <Timestamp>2016-05-23T12:37:21.781Z</Timestamp>
326
+ </GetServiceStatusResult>
327
+ <ResponseMetadata>
328
+ <RequestId>73c23d8f-2566-46bb-b3c6-06be73712b8c</RequestId>
329
+ </ResponseMetadata>
330
+ </GetServiceStatusResponse>
331
+ http_version:
332
+ recorded_at: Mon, 23 May 2016 12:37:21 GMT
333
+ - request:
334
+ method: post
335
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
336
+ body:
337
+ encoding: UTF-8
338
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A21Z&Version=2014-03-01&Signature=mIV1JMvgycHCj7xRR9wrhkIJLOd30ydlu%2Blh6l43rH0%3D
339
+ headers:
340
+ User-Agent:
341
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
342
+ Content-Type:
343
+ - application/x-www-form-urlencoded
344
+ response:
345
+ status:
346
+ code: 200
347
+ message:
348
+ headers:
349
+ Server:
350
+ - Server
351
+ Date:
352
+ - Mon, 23 May 2016 12:37:22 GMT
353
+ Content-Type:
354
+ - text/xml
355
+ Content-Length:
356
+ - '385'
357
+ Connection:
358
+ - keep-alive
359
+ x-mws-request-id:
360
+ - ae2b6ac3-0031-48ee-8443-654567005203
361
+ x-mws-timestamp:
362
+ - '2016-05-23T12:37:22.028Z'
363
+ x-mws-response-context:
364
+ - L4/dMHfGSNXz1SWF0Vt3+bfBN2pLzx/3f7VVbnwSO3bXm/N85Z4Bdi76uC074BwVQX74WADE6XqJ
365
+ yEtvdE2Okw==
366
+ Vary:
367
+ - Accept-Encoding,User-Agent
368
+ body:
369
+ encoding: UTF-8
370
+ string: |
371
+ <?xml version="1.0"?>
372
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
373
+ <GetServiceStatusResult>
374
+ <Status>GREEN</Status>
375
+ <Timestamp>2016-05-23T12:37:22.028Z</Timestamp>
376
+ </GetServiceStatusResult>
377
+ <ResponseMetadata>
378
+ <RequestId>ae2b6ac3-0031-48ee-8443-654567005203</RequestId>
379
+ </ResponseMetadata>
380
+ </GetServiceStatusResponse>
381
+ http_version:
382
+ recorded_at: Mon, 23 May 2016 12:37:22 GMT
383
+ - request:
384
+ method: post
385
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01
386
+ body:
387
+ encoding: UTF-8
388
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A37%3A22Z&Version=2014-03-01&Signature=3FoVyLOV9DSHEVssJRfniw6TtAovo7Vx4TqrhlQCT5c%3D
389
+ headers:
390
+ User-Agent:
391
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
392
+ Content-Type:
393
+ - application/x-www-form-urlencoded
394
+ response:
395
+ status:
396
+ code: 200
397
+ message:
398
+ headers:
399
+ Server:
400
+ - Server
401
+ Date:
402
+ - Mon, 23 May 2016 12:37:22 GMT
403
+ Content-Type:
404
+ - text/xml
405
+ Content-Length:
406
+ - '385'
407
+ Connection:
408
+ - keep-alive
409
+ x-mws-request-id:
410
+ - 092d1128-bad6-4a64-abda-8ec3a8e47661
411
+ x-mws-timestamp:
412
+ - '2016-05-23T12:37:22.277Z'
413
+ x-mws-response-context:
414
+ - xgKs055/1JvZv1n2u4Hnl5wbHVVS/7NITLPqTYXWu0rcQI9bt2nqFfVzeBJeeEaLCdGVg4ZedGVu
415
+ M7/h/JbXHA==
416
+ Vary:
417
+ - Accept-Encoding,User-Agent
418
+ body:
419
+ encoding: UTF-8
420
+ string: |
421
+ <?xml version="1.0"?>
422
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
423
+ <GetServiceStatusResult>
424
+ <Status>GREEN</Status>
425
+ <Timestamp>2016-05-23T12:37:22.277Z</Timestamp>
426
+ </GetServiceStatusResult>
427
+ <ResponseMetadata>
428
+ <RequestId>092d1128-bad6-4a64-abda-8ec3a8e47661</RequestId>
429
+ </ResponseMetadata>
430
+ </GetServiceStatusResponse>
431
+ http_version:
432
+ recorded_at: Mon, 23 May 2016 12:37:22 GMT
433
+ recorded_with: VCR 3.0.1