peddler 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
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,7 +5,7 @@ http_interactions:
5
5
  uri: https://mws.amazonservices.ca/FulfillmentOutboundShipment/2010-10-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%3A11%3A46Z&Version=2010-10-01&Signature=kpZh1fL%2FRfGlQEia9Mg6OmFdAaM%2FLl8qXKmasoWtoSU%3D'
8
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A46Z&Version=2010-10-01&Signature=kpZh1fL%2FRfGlQEia9Mg6OmFdAaM%2FLl8qXKmasoWtoSU%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/FulfillmentOutboundShipment/2010-10-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%3A11%3A47Z&Version=2010-10-01&Signature=zYyyFAnGX%2BiMBuwPWvsq5pmofa8y8J0rRYo7izfYGkI%3D'
53
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A47Z&Version=2010-10-01&Signature=zYyyFAnGX%2BiMBuwPWvsq5pmofa8y8J0rRYo7izfYGkI%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/FulfillmentOutboundShipment/2010-10-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%3A11%3A47Z&Version=2010-10-01&Signature=L5McjX6atMUlV1IGaGiPlVIQv1swu24EqGUxQLBc2Io%3D'
98
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A47Z&Version=2010-10-01&Signature=L5McjX6atMUlV1IGaGiPlVIQv1swu24EqGUxQLBc2Io%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/FulfillmentOutboundShipment/2010-10-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%3A11%3A48Z&Version=2010-10-01&Signature=nQGnzGdg9IGAVLhF157ymp%2FyEtquBW9oqgPPFlkZSGg%3D'
143
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A48Z&Version=2010-10-01&Signature=nQGnzGdg9IGAVLhF157ymp%2FyEtquBW9oqgPPFlkZSGg%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:11:48 GMT
183
- recorded_with: VCR 2.9.3
183
+ - request:
184
+ method: post
185
+ uri: https://mws.amazonservices.com.mx/FulfillmentOutboundShipment/2010-10-01
186
+ body:
187
+ encoding: UTF-8
188
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A42Z&Version=2010-10-01&Signature=T5qoOhBhq3ozV4C5M6SlFS4WqeyCcOGYnqaQL%2FN4Xo8%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:53:44 GMT
203
+ Content-Type:
204
+ - text/xml
205
+ Content-Length:
206
+ - '391'
207
+ Connection:
208
+ - keep-alive
209
+ x-mws-request-id:
210
+ - 3ed90f6e-e180-427a-bd24-2d2281008d3c
211
+ x-mws-timestamp:
212
+ - '2016-05-23T12:53:44.289Z'
213
+ x-mws-response-context:
214
+ - siLkVRKQW8VLXfUJAtja7Fug/RqYBZJU8Zv+74KciPwR7CrPtmanV+XjG1k7nTUanlh/go+e7CY6
215
+ 4KCQ6N+IqA==
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.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
223
+ <GetServiceStatusResult>
224
+ <Status>GREEN</Status>
225
+ <Timestamp>2016-05-23T12:53:44.289Z</Timestamp>
226
+ </GetServiceStatusResult>
227
+ <ResponseMetadata>
228
+ <RequestId>3ed90f6e-e180-427a-bd24-2d2281008d3c</RequestId>
229
+ </ResponseMetadata>
230
+ </GetServiceStatusResponse>
231
+ http_version:
232
+ recorded_at: Mon, 23 May 2016 12:53:44 GMT
233
+ - request:
234
+ method: post
235
+ uri: https://mws-eu.amazonservices.com/FulfillmentOutboundShipment/2010-10-01
236
+ body:
237
+ encoding: UTF-8
238
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A44Z&Version=2010-10-01&Signature=2wfxgc9BIzyOJLW21ZsC9GaALEhmi3kSSeV2vXjmo3k%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:53:44 GMT
253
+ Content-Type:
254
+ - text/xml
255
+ Content-Length:
256
+ - '391'
257
+ Connection:
258
+ - keep-alive
259
+ x-mws-request-id:
260
+ - 51b79609-256b-4c97-ae71-1ce2fb3abc30
261
+ x-mws-timestamp:
262
+ - '2016-05-23T12:53:44.786Z'
263
+ x-mws-response-context:
264
+ - mLCb8xKG/mEL++WMwmA5nqSKVO62r7SytsUkWn4pq9rUAktM9/k33DkUA+Ia27pkyNrpETdo/nHh
265
+ ho5RdjaOGA==
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.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
273
+ <GetServiceStatusResult>
274
+ <Status>GREEN</Status>
275
+ <Timestamp>2016-05-23T12:53:44.786Z</Timestamp>
276
+ </GetServiceStatusResult>
277
+ <ResponseMetadata>
278
+ <RequestId>51b79609-256b-4c97-ae71-1ce2fb3abc30</RequestId>
279
+ </ResponseMetadata>
280
+ </GetServiceStatusResponse>
281
+ http_version:
282
+ recorded_at: Mon, 23 May 2016 12:53:44 GMT
283
+ - request:
284
+ method: post
285
+ uri: https://mws-eu.amazonservices.com/FulfillmentOutboundShipment/2010-10-01
286
+ body:
287
+ encoding: UTF-8
288
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A44Z&Version=2010-10-01&Signature=EDzalJng7CVX%2FiZ5Qp4XrPw65UBSptFv4fIir5hNwms%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:53:45 GMT
303
+ Content-Type:
304
+ - text/xml
305
+ Content-Length:
306
+ - '391'
307
+ Connection:
308
+ - keep-alive
309
+ x-mws-request-id:
310
+ - 7c3fff96-e4fb-4c72-9853-283bbe06e5e2
311
+ x-mws-timestamp:
312
+ - '2016-05-23T12:53:45.040Z'
313
+ x-mws-response-context:
314
+ - ujkll4hykAfOIKTZnd4hUfURN/pCCv7P7ecuY+trogERbvwn7z52T6iR1LJoEqdRIMHEagUy9ayh
315
+ MKQIV12JxQ==
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.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
323
+ <GetServiceStatusResult>
324
+ <Status>GREEN</Status>
325
+ <Timestamp>2016-05-23T12:53:45.040Z</Timestamp>
326
+ </GetServiceStatusResult>
327
+ <ResponseMetadata>
328
+ <RequestId>7c3fff96-e4fb-4c72-9853-283bbe06e5e2</RequestId>
329
+ </ResponseMetadata>
330
+ </GetServiceStatusResponse>
331
+ http_version:
332
+ recorded_at: Mon, 23 May 2016 12:53:45 GMT
333
+ - request:
334
+ method: post
335
+ uri: https://mws-eu.amazonservices.com/FulfillmentOutboundShipment/2010-10-01
336
+ body:
337
+ encoding: UTF-8
338
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A45Z&Version=2010-10-01&Signature=8Wm3fjWWsBTFVOemQMLO7eKj9OLmap1Ypy5WxbDJ9JU%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:53:45 GMT
353
+ Content-Type:
354
+ - text/xml
355
+ Content-Length:
356
+ - '391'
357
+ Connection:
358
+ - keep-alive
359
+ x-mws-request-id:
360
+ - d4f9ab26-79ad-429b-ac0c-1315d02f8c23
361
+ x-mws-timestamp:
362
+ - '2016-05-23T12:53:45.297Z'
363
+ x-mws-response-context:
364
+ - 48XRAaA3byPxsYeTgMOL8LfHREIeXsqxbxWOi7UJOt19/dt0WjA8vLokssowuZ0ll00uJeTXVNiJ
365
+ p9bWQ+3fTA==
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.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
373
+ <GetServiceStatusResult>
374
+ <Status>GREEN</Status>
375
+ <Timestamp>2016-05-23T12:53:45.297Z</Timestamp>
376
+ </GetServiceStatusResult>
377
+ <ResponseMetadata>
378
+ <RequestId>d4f9ab26-79ad-429b-ac0c-1315d02f8c23</RequestId>
379
+ </ResponseMetadata>
380
+ </GetServiceStatusResponse>
381
+ http_version:
382
+ recorded_at: Mon, 23 May 2016 12:53:45 GMT
383
+ - request:
384
+ method: post
385
+ uri: https://mws-eu.amazonservices.com/FulfillmentOutboundShipment/2010-10-01
386
+ body:
387
+ encoding: UTF-8
388
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A45Z&Version=2010-10-01&Signature=qOTQhGCjwJujxY7oXlJRRst9gYfoMKdaJWa%2F9yTvnN0%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:53:45 GMT
403
+ Content-Type:
404
+ - text/xml
405
+ Content-Length:
406
+ - '391'
407
+ Connection:
408
+ - keep-alive
409
+ x-mws-request-id:
410
+ - e05b24c0-9919-4836-807f-82cc5df781e3
411
+ x-mws-timestamp:
412
+ - '2016-05-23T12:53:45.647Z'
413
+ x-mws-response-context:
414
+ - p8Xp1IDse8vF8jHirzYAJpEVnJNyg53EyAXYyuIgLhlEvKB6knc3YEkvemjh0iUJeMX5gqidKp1b
415
+ 6mGVnO0ogA==
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.amazonaws.com/FulfillmentOutboundShipment/2010-10-01/">
423
+ <GetServiceStatusResult>
424
+ <Status>GREEN</Status>
425
+ <Timestamp>2016-05-23T12:53:45.647Z</Timestamp>
426
+ </GetServiceStatusResult>
427
+ <ResponseMetadata>
428
+ <RequestId>e05b24c0-9919-4836-807f-82cc5df781e3</RequestId>
429
+ </ResponseMetadata>
430
+ </GetServiceStatusResponse>
431
+ http_version:
432
+ recorded_at: Mon, 23 May 2016 12:53:45 GMT
433
+ recorded_with: VCR 3.0.1
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://mws.amazonservices.ca/MerchantFulfillment/2015-06-01
6
6
  body:
7
7
  encoding: UTF-8
8
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A15Z&Version=2015-06-01&Signature=ogf%2BN3zCHCvfU6iuxGkAryEUyTZ5PZ5tk3tWD%2BRofGo%3D
8
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A15Z&Version=2015-06-01&Signature=ogf%2BN3zCHCvfU6iuxGkAryEUyTZ5PZ5tk3tWD%2BRofGo%3D
9
9
  headers:
10
10
  User-Agent:
11
11
  - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.local)
@@ -53,7 +53,7 @@ http_interactions:
53
53
  uri: https://mws-eu.amazonservices.com/MerchantFulfillment/2015-06-01
54
54
  body:
55
55
  encoding: UTF-8
56
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A16Z&Version=2015-06-01&Signature=lbrYDZnuZpvcIe4ySQyrLqIdO10mVr%2BN98zcatWDYpA%3D
56
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A16Z&Version=2015-06-01&Signature=lbrYDZnuZpvcIe4ySQyrLqIdO10mVr%2BN98zcatWDYpA%3D
57
57
  headers:
58
58
  User-Agent:
59
59
  - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.local)
@@ -101,7 +101,7 @@ http_interactions:
101
101
  uri: https://mws.amazonservices.jp/MerchantFulfillment/2015-06-01
102
102
  body:
103
103
  encoding: UTF-8
104
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A16Z&Version=2015-06-01&Signature=l4rtSokNzOIb1H2PtnWSCpwjDLKJacXn6TztIhoLqXs%3D
104
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A16Z&Version=2015-06-01&Signature=l4rtSokNzOIb1H2PtnWSCpwjDLKJacXn6TztIhoLqXs%3D
105
105
  headers:
106
106
  User-Agent:
107
107
  - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.local)
@@ -149,7 +149,7 @@ http_interactions:
149
149
  uri: https://mws.amazonservices.com/MerchantFulfillment/2015-06-01
150
150
  body:
151
151
  encoding: UTF-8
152
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A17Z&Version=2015-06-01&Signature=6xcWEqs7%2Benet9KUTK9l2gYnhyUJn0Mw0BhW5CG10UQ%3D
152
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-01-21T10%3A37%3A17Z&Version=2015-06-01&Signature=6xcWEqs7%2Benet9KUTK9l2gYnhyUJn0Mw0BhW5CG10UQ%3D
153
153
  headers:
154
154
  User-Agent:
155
155
  - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.local)
@@ -192,4 +192,254 @@ http_interactions:
192
192
  </GetServiceStatusResponse>
193
193
  http_version:
194
194
  recorded_at: Thu, 21 Jan 2016 10:37:18 GMT
195
+ - request:
196
+ method: post
197
+ uri: https://mws.amazonservices.com.mx/MerchantFulfillment/2015-06-01
198
+ body:
199
+ encoding: UTF-8
200
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A56Z&Version=2015-06-01&Signature=06cSAQE5PGKOFhRWvtM1yT9l2FpYBHAaxq2LgJq5yjg%3D
201
+ headers:
202
+ User-Agent:
203
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
204
+ Content-Type:
205
+ - application/x-www-form-urlencoded
206
+ response:
207
+ status:
208
+ code: 200
209
+ message:
210
+ headers:
211
+ Server:
212
+ - Server
213
+ Date:
214
+ - Mon, 23 May 2016 12:53:57 GMT
215
+ Content-Type:
216
+ - text/xml
217
+ Content-Length:
218
+ - '387'
219
+ Connection:
220
+ - keep-alive
221
+ x-mws-request-id:
222
+ - 349f2c42-d1d6-4cbe-bf3b-d49252ffbff1
223
+ x-mws-timestamp:
224
+ - '2016-05-23T12:53:57.418Z'
225
+ x-mws-response-context:
226
+ - SUihqf278+y8dorMLGDSVVbL73Lhz1fit9cL03c+s7dsm2TIPnMKjRmgQHJIsPWHp27/K4t5LgRm
227
+ pfN2YF6+kw==
228
+ Vary:
229
+ - Accept-Encoding,User-Agent
230
+ body:
231
+ encoding: UTF-8
232
+ string: |
233
+ <?xml version="1.0"?>
234
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/MerchantFulfillment/2015-06-01">
235
+ <GetServiceStatusResult>
236
+ <Status>GREEN</Status>
237
+ <Timestamp>2016-05-23T12:53:57.418Z</Timestamp>
238
+ </GetServiceStatusResult>
239
+ <ResponseMetadata>
240
+ <RequestId>349f2c42-d1d6-4cbe-bf3b-d49252ffbff1</RequestId>
241
+ </ResponseMetadata>
242
+ </GetServiceStatusResponse>
243
+ http_version:
244
+ recorded_at: Mon, 23 May 2016 12:53:57 GMT
245
+ - request:
246
+ method: post
247
+ uri: https://mws-eu.amazonservices.com/MerchantFulfillment/2015-06-01
248
+ body:
249
+ encoding: UTF-8
250
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A57Z&Version=2015-06-01&Signature=vtz4j7UXLnDknquS5v46C7vGY8QSobeN5LHA2MIVjJ8%3D
251
+ headers:
252
+ User-Agent:
253
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
254
+ Content-Type:
255
+ - application/x-www-form-urlencoded
256
+ response:
257
+ status:
258
+ code: 200
259
+ message:
260
+ headers:
261
+ Server:
262
+ - Server
263
+ Date:
264
+ - Mon, 23 May 2016 12:53:57 GMT
265
+ Content-Type:
266
+ - text/xml
267
+ Content-Length:
268
+ - '387'
269
+ Connection:
270
+ - keep-alive
271
+ x-mws-request-id:
272
+ - fec52b9c-633a-48c3-ba91-44c85e8401fa
273
+ x-mws-timestamp:
274
+ - '2016-05-23T12:53:57.915Z'
275
+ x-mws-response-context:
276
+ - 2qA+YvZnwX7D5fvFNcmJR+Movj0t/imN1Ls9WjKkjbM4nycHRG2+PPM5OudUCk9ymkN79gJPn3im
277
+ SQGsPlNviw==
278
+ Vary:
279
+ - Accept-Encoding,User-Agent
280
+ body:
281
+ encoding: UTF-8
282
+ string: |
283
+ <?xml version="1.0"?>
284
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/MerchantFulfillment/2015-06-01">
285
+ <GetServiceStatusResult>
286
+ <Status>GREEN</Status>
287
+ <Timestamp>2016-05-23T12:53:57.915Z</Timestamp>
288
+ </GetServiceStatusResult>
289
+ <ResponseMetadata>
290
+ <RequestId>fec52b9c-633a-48c3-ba91-44c85e8401fa</RequestId>
291
+ </ResponseMetadata>
292
+ </GetServiceStatusResponse>
293
+ http_version:
294
+ recorded_at: Mon, 23 May 2016 12:53:58 GMT
295
+ - request:
296
+ method: post
297
+ uri: https://mws-eu.amazonservices.com/MerchantFulfillment/2015-06-01
298
+ body:
299
+ encoding: UTF-8
300
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A58Z&Version=2015-06-01&Signature=ix%2FFYDLNkUtYN9hFTUAoG2ykZ21hsOQHlzK9Im2gPTU%3D
301
+ headers:
302
+ User-Agent:
303
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
304
+ Content-Type:
305
+ - application/x-www-form-urlencoded
306
+ response:
307
+ status:
308
+ code: 200
309
+ message:
310
+ headers:
311
+ Server:
312
+ - Server
313
+ Date:
314
+ - Mon, 23 May 2016 12:53:58 GMT
315
+ Content-Type:
316
+ - text/xml
317
+ Content-Length:
318
+ - '387'
319
+ Connection:
320
+ - keep-alive
321
+ x-mws-request-id:
322
+ - c6966d0a-a567-4070-aa30-3f3783eb3749
323
+ x-mws-timestamp:
324
+ - '2016-05-23T12:53:58.169Z'
325
+ x-mws-response-context:
326
+ - j2hhCArf+5eJ5TDCBKz5by7w9P6My7gvAgSb3DpWacOVw+7DMtMFoVun8fde2u8KvWd0aTy5CN9b
327
+ o9HakS7/Aw==
328
+ Vary:
329
+ - Accept-Encoding,User-Agent
330
+ body:
331
+ encoding: UTF-8
332
+ string: |
333
+ <?xml version="1.0"?>
334
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/MerchantFulfillment/2015-06-01">
335
+ <GetServiceStatusResult>
336
+ <Status>GREEN</Status>
337
+ <Timestamp>2016-05-23T12:53:58.169Z</Timestamp>
338
+ </GetServiceStatusResult>
339
+ <ResponseMetadata>
340
+ <RequestId>c6966d0a-a567-4070-aa30-3f3783eb3749</RequestId>
341
+ </ResponseMetadata>
342
+ </GetServiceStatusResponse>
343
+ http_version:
344
+ recorded_at: Mon, 23 May 2016 12:53:58 GMT
345
+ - request:
346
+ method: post
347
+ uri: https://mws-eu.amazonservices.com/MerchantFulfillment/2015-06-01
348
+ body:
349
+ encoding: UTF-8
350
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A58Z&Version=2015-06-01&Signature=3O8HFTL0aon8vUICxJdMM7rmxTKoTrG64icG5oGwwes%3D
351
+ headers:
352
+ User-Agent:
353
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
354
+ Content-Type:
355
+ - application/x-www-form-urlencoded
356
+ response:
357
+ status:
358
+ code: 200
359
+ message:
360
+ headers:
361
+ Server:
362
+ - Server
363
+ Date:
364
+ - Mon, 23 May 2016 12:53:58 GMT
365
+ Content-Type:
366
+ - text/xml
367
+ Content-Length:
368
+ - '387'
369
+ Connection:
370
+ - keep-alive
371
+ x-mws-request-id:
372
+ - f02d9224-ad08-414e-b0cf-01a1a2e2490e
373
+ x-mws-timestamp:
374
+ - '2016-05-23T12:53:58.414Z'
375
+ x-mws-response-context:
376
+ - SQ+2b8Hdym1eRj+Gvxdoi+0/T+UR830m1OLnC4uLu77CMzOgYCIW3tZ437BznBYfrwfF3H14PeZ0
377
+ 6BsBBoFYfg==
378
+ Vary:
379
+ - Accept-Encoding,User-Agent
380
+ body:
381
+ encoding: UTF-8
382
+ string: |
383
+ <?xml version="1.0"?>
384
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/MerchantFulfillment/2015-06-01">
385
+ <GetServiceStatusResult>
386
+ <Status>GREEN</Status>
387
+ <Timestamp>2016-05-23T12:53:58.414Z</Timestamp>
388
+ </GetServiceStatusResult>
389
+ <ResponseMetadata>
390
+ <RequestId>f02d9224-ad08-414e-b0cf-01a1a2e2490e</RequestId>
391
+ </ResponseMetadata>
392
+ </GetServiceStatusResponse>
393
+ http_version:
394
+ recorded_at: Mon, 23 May 2016 12:53:58 GMT
395
+ - request:
396
+ method: post
397
+ uri: https://mws-eu.amazonservices.com/MerchantFulfillment/2015-06-01
398
+ body:
399
+ encoding: UTF-8
400
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A53%3A58Z&Version=2015-06-01&Signature=yZhS%2B9eIpmKXLEDd89TyUNjf7mTWW25VaiGo%2BXXwuQs%3D
401
+ headers:
402
+ User-Agent:
403
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
404
+ Content-Type:
405
+ - application/x-www-form-urlencoded
406
+ response:
407
+ status:
408
+ code: 200
409
+ message:
410
+ headers:
411
+ Server:
412
+ - Server
413
+ Date:
414
+ - Mon, 23 May 2016 12:53:58 GMT
415
+ Content-Type:
416
+ - text/xml
417
+ Content-Length:
418
+ - '387'
419
+ Connection:
420
+ - keep-alive
421
+ x-mws-request-id:
422
+ - 60e6043e-ae58-4948-ae58-4fdec0b32c0f
423
+ x-mws-timestamp:
424
+ - '2016-05-23T12:53:58.779Z'
425
+ x-mws-response-context:
426
+ - mW2/FWnNTcBrgNB/+3IXzXr1w8vX2RE8BEAWH2Y1s+LleDsF4lP1t67c9bW2Pgiw27tL3vqmNroQ
427
+ Z9zxOJJESQ==
428
+ Vary:
429
+ - Accept-Encoding,User-Agent
430
+ body:
431
+ encoding: UTF-8
432
+ string: |
433
+ <?xml version="1.0"?>
434
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/MerchantFulfillment/2015-06-01">
435
+ <GetServiceStatusResult>
436
+ <Status>GREEN</Status>
437
+ <Timestamp>2016-05-23T12:53:58.779Z</Timestamp>
438
+ </GetServiceStatusResult>
439
+ <ResponseMetadata>
440
+ <RequestId>60e6043e-ae58-4948-ae58-4fdec0b32c0f</RequestId>
441
+ </ResponseMetadata>
442
+ </GetServiceStatusResponse>
443
+ http_version:
444
+ recorded_at: Mon, 23 May 2016 12:53:58 GMT
195
445
  recorded_with: VCR 3.0.1