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/FulfillmentInventory/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%3A55Z&Version=2010-10-01&Signature=ZEeblTUtUphDbyLQawEUzzNnWzu0wodcKpUReSPQYL4%3D'
8
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A55Z&Version=2010-10-01&Signature=ZEeblTUtUphDbyLQawEUzzNnWzu0wodcKpUReSPQYL4%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/FulfillmentInventory/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%3A56Z&Version=2010-10-01&Signature=K9OdU2GmW8CVKJeTjZ2Af1F4LQHPGD1nwVwUaDTzevM%3D'
53
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A56Z&Version=2010-10-01&Signature=K9OdU2GmW8CVKJeTjZ2Af1F4LQHPGD1nwVwUaDTzevM%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/FulfillmentInventory/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%3A56Z&Version=2010-10-01&Signature=2Z1QP%2BfUZCNqcOH5Sk5Ro%2B6X8jk9j9e1UsEqcBs690w%3D'
98
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A56Z&Version=2010-10-01&Signature=2Z1QP%2BfUZCNqcOH5Sk5Ro%2B6X8jk9j9e1UsEqcBs690w%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/FulfillmentInventory/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%3A57Z&Version=2010-10-01&Signature=YfhGEJO3yOp50lEAVyXl5yoKhmXULlG%2FZyz8hFjCqJw%3D'
143
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A57Z&Version=2010-10-01&Signature=YfhGEJO3yOp50lEAVyXl5yoKhmXULlG%2FZyz8hFjCqJw%3D
144
144
  headers:
145
145
  User-Agent:
146
146
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -185,7 +185,7 @@ http_interactions:
185
185
  uri: https://mws.amazonservices.ca/FulfillmentInventory/2010-10-01
186
186
  body:
187
187
  encoding: US-ASCII
188
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A58Z&Version=2010-10-01&Signature=xR8K4uc9X%2FtmmaOQtVwpD7hx0V1y8NsP6BTBc6SOCaQ%3D'
188
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A11%3A58Z&Version=2010-10-01&Signature=xR8K4uc9X%2FtmmaOQtVwpD7hx0V1y8NsP6BTBc6SOCaQ%3D
189
189
  headers:
190
190
  User-Agent:
191
191
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -228,7 +228,7 @@ http_interactions:
228
228
  uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
229
229
  body:
230
230
  encoding: US-ASCII
231
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A12%3A00Z&Version=2010-10-01&Signature=BCA2lKnzA2DrX2IRRxB5AECutoXJnymfDVvaD%2BjXxTI%3D'
231
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A12%3A00Z&Version=2010-10-01&Signature=BCA2lKnzA2DrX2IRRxB5AECutoXJnymfDVvaD%2BjXxTI%3D
232
232
  headers:
233
233
  User-Agent:
234
234
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -271,7 +271,7 @@ http_interactions:
271
271
  uri: https://mws.amazonservices.jp/FulfillmentInventory/2010-10-01
272
272
  body:
273
273
  encoding: US-ASCII
274
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A12%3A00Z&Version=2010-10-01&Signature=RYhDt494f712BdbRIl5mMnZcK7aQ%2FX9y1VH68fY1X0U%3D'
274
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A12%3A00Z&Version=2010-10-01&Signature=RYhDt494f712BdbRIl5mMnZcK7aQ%2FX9y1VH68fY1X0U%3D
275
275
  headers:
276
276
  User-Agent:
277
277
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -314,7 +314,7 @@ http_interactions:
314
314
  uri: https://mws.amazonservices.com/FulfillmentInventory/2010-10-01
315
315
  body:
316
316
  encoding: US-ASCII
317
- string: 'AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A12%3A01Z&Version=2010-10-01&Signature=nVknTgziJaUWs6bYX%2FRjykhYNvz3r6CQtOUajGBD3cc%3D'
317
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2015-02-26&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-03-28T18%3A12%3A01Z&Version=2010-10-01&Signature=nVknTgziJaUWs6bYX%2FRjykhYNvz3r6CQtOUajGBD3cc%3D
318
318
  headers:
319
319
  User-Agent:
320
320
  - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
@@ -352,4 +352,499 @@ http_interactions:
352
352
  </ListInventorySupplyResponse>
353
353
  http_version:
354
354
  recorded_at: Sat, 28 Mar 2015 18:12:02 GMT
355
- recorded_with: VCR 2.9.3
355
+ - request:
356
+ method: post
357
+ uri: https://mws.amazonservices.com.mx/FulfillmentInventory/2010-10-01
358
+ body:
359
+ encoding: UTF-8
360
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A32Z&Version=2010-10-01&Signature=keUWO4YND5nkrxbEbDbkdQrjHAF4qwLjoG5mfMYoXYo%3D
361
+ headers:
362
+ User-Agent:
363
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
364
+ Content-Type:
365
+ - application/x-www-form-urlencoded
366
+ response:
367
+ status:
368
+ code: 200
369
+ message:
370
+ headers:
371
+ Server:
372
+ - Server
373
+ Date:
374
+ - Mon, 23 May 2016 12:51:33 GMT
375
+ Content-Type:
376
+ - text/xml
377
+ Content-Length:
378
+ - '384'
379
+ Connection:
380
+ - keep-alive
381
+ x-mws-request-id:
382
+ - db2b8880-c5ff-4a52-bcdd-a9935cb53057
383
+ x-mws-timestamp:
384
+ - '2016-05-23T12:51:33.377Z'
385
+ x-mws-response-context:
386
+ - IiHqwmRcsSOCOc4NFTGQ7Yll4B/LRXNSCi25WeAbGWWvtFCGDIj/WgvqGbZTCPGM9PqsCOKVuyUZ
387
+ hadqG6t9+g==
388
+ Vary:
389
+ - Accept-Encoding,User-Agent
390
+ body:
391
+ encoding: UTF-8
392
+ string: |
393
+ <?xml version="1.0"?>
394
+ <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
395
+ <GetServiceStatusResult>
396
+ <Status>GREEN</Status>
397
+ <Timestamp>2016-05-23T12:51:33.377Z</Timestamp>
398
+ </GetServiceStatusResult>
399
+ <ResponseMetadata>
400
+ <RequestId>db2b8880-c5ff-4a52-bcdd-a9935cb53057</RequestId>
401
+ </ResponseMetadata>
402
+ </GetServiceStatusResponse>
403
+ http_version:
404
+ recorded_at: Mon, 23 May 2016 12:51:33 GMT
405
+ - request:
406
+ method: post
407
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
408
+ body:
409
+ encoding: UTF-8
410
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A33Z&Version=2010-10-01&Signature=Jztk4wy0pV0p5r39UNoiBpSolQTTBZKC%2Fs8GO%2Bu%2FuAw%3D
411
+ headers:
412
+ User-Agent:
413
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
414
+ Content-Type:
415
+ - application/x-www-form-urlencoded
416
+ response:
417
+ status:
418
+ code: 200
419
+ message:
420
+ headers:
421
+ Server:
422
+ - Server
423
+ Date:
424
+ - Mon, 23 May 2016 12:51:34 GMT
425
+ Content-Type:
426
+ - text/xml
427
+ Content-Length:
428
+ - '384'
429
+ Connection:
430
+ - keep-alive
431
+ x-mws-request-id:
432
+ - 335ec53c-8b88-4442-83d3-6f65b6f45e91
433
+ x-mws-timestamp:
434
+ - '2016-05-23T12:51:34.067Z'
435
+ x-mws-response-context:
436
+ - enO81NMOjL/XDsuqVTTpkFpwMXs3SNAWW0WFHVcYEAHhJxAKmqrvG/qxH/72eM4VoShu83yzB0hl
437
+ lYHFRm4JNg==
438
+ Vary:
439
+ - Accept-Encoding,User-Agent
440
+ body:
441
+ encoding: UTF-8
442
+ string: |
443
+ <?xml version="1.0"?>
444
+ <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
445
+ <GetServiceStatusResult>
446
+ <Status>GREEN</Status>
447
+ <Timestamp>2016-05-23T12:51:34.067Z</Timestamp>
448
+ </GetServiceStatusResult>
449
+ <ResponseMetadata>
450
+ <RequestId>335ec53c-8b88-4442-83d3-6f65b6f45e91</RequestId>
451
+ </ResponseMetadata>
452
+ </GetServiceStatusResponse>
453
+ http_version:
454
+ recorded_at: Mon, 23 May 2016 12:51:34 GMT
455
+ - request:
456
+ method: post
457
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
458
+ body:
459
+ encoding: UTF-8
460
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A34Z&Version=2010-10-01&Signature=a2fR%2FaTERYQmK1mVYvFASGX7dzH6A8BFvs1Rs%2Fpc3Jw%3D
461
+ headers:
462
+ User-Agent:
463
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
464
+ Content-Type:
465
+ - application/x-www-form-urlencoded
466
+ response:
467
+ status:
468
+ code: 200
469
+ message:
470
+ headers:
471
+ Server:
472
+ - Server
473
+ Date:
474
+ - Mon, 23 May 2016 12:51:34 GMT
475
+ Content-Type:
476
+ - text/xml
477
+ Content-Length:
478
+ - '384'
479
+ Connection:
480
+ - keep-alive
481
+ x-mws-request-id:
482
+ - ea5da71b-4ad9-4829-b4b4-69925f56f7a7
483
+ x-mws-timestamp:
484
+ - '2016-05-23T12:51:34.317Z'
485
+ x-mws-response-context:
486
+ - L4/dMHfGSNXz1SWF0Vt3+bfBN2pLzx/3f7VVbnwSO3bXm/N85Z4Bdi76uC074BwVQX74WADE6XqJ
487
+ yEtvdE2Okw==
488
+ Vary:
489
+ - Accept-Encoding,User-Agent
490
+ body:
491
+ encoding: UTF-8
492
+ string: |
493
+ <?xml version="1.0"?>
494
+ <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
495
+ <GetServiceStatusResult>
496
+ <Status>GREEN</Status>
497
+ <Timestamp>2016-05-23T12:51:34.317Z</Timestamp>
498
+ </GetServiceStatusResult>
499
+ <ResponseMetadata>
500
+ <RequestId>ea5da71b-4ad9-4829-b4b4-69925f56f7a7</RequestId>
501
+ </ResponseMetadata>
502
+ </GetServiceStatusResponse>
503
+ http_version:
504
+ recorded_at: Mon, 23 May 2016 12:51:34 GMT
505
+ - request:
506
+ method: post
507
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
508
+ body:
509
+ encoding: UTF-8
510
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A34Z&Version=2010-10-01&Signature=DKXTxuWLO9Zk3uRPfQaei5Hmd1sFoxSl%2B%2BGtLr3%2F0v0%3D
511
+ headers:
512
+ User-Agent:
513
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
514
+ Content-Type:
515
+ - application/x-www-form-urlencoded
516
+ response:
517
+ status:
518
+ code: 200
519
+ message:
520
+ headers:
521
+ Server:
522
+ - Server
523
+ Date:
524
+ - Mon, 23 May 2016 12:51:34 GMT
525
+ Content-Type:
526
+ - text/xml
527
+ Content-Length:
528
+ - '384'
529
+ Connection:
530
+ - keep-alive
531
+ x-mws-request-id:
532
+ - e03cfe4f-e26c-418d-9e8b-d713c05695b7
533
+ x-mws-timestamp:
534
+ - '2016-05-23T12:51:34.706Z'
535
+ x-mws-response-context:
536
+ - ONHMjedf7gomYnqQfmPbXMAAXSRWeamEYKwySg4ev4Gtt4mVf5AkgJXXgpXxpC/30zmVE9+ooh5+
537
+ e0lcPXxhng==
538
+ Vary:
539
+ - Accept-Encoding,User-Agent
540
+ body:
541
+ encoding: UTF-8
542
+ string: |
543
+ <?xml version="1.0"?>
544
+ <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
545
+ <GetServiceStatusResult>
546
+ <Status>GREEN</Status>
547
+ <Timestamp>2016-05-23T12:51:34.706Z</Timestamp>
548
+ </GetServiceStatusResult>
549
+ <ResponseMetadata>
550
+ <RequestId>e03cfe4f-e26c-418d-9e8b-d713c05695b7</RequestId>
551
+ </ResponseMetadata>
552
+ </GetServiceStatusResponse>
553
+ http_version:
554
+ recorded_at: Mon, 23 May 2016 12:51:34 GMT
555
+ - request:
556
+ method: post
557
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
558
+ body:
559
+ encoding: UTF-8
560
+ string: AWSAccessKeyId=FILTERED&Action=GetServiceStatus&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A34Z&Version=2010-10-01&Signature=mGnhnhJ1lITIT5njxDrRQweIA012%2By4y64lpLlrgR%2Bg%3D
561
+ headers:
562
+ User-Agent:
563
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
564
+ Content-Type:
565
+ - application/x-www-form-urlencoded
566
+ response:
567
+ status:
568
+ code: 200
569
+ message:
570
+ headers:
571
+ Server:
572
+ - Server
573
+ Date:
574
+ - Mon, 23 May 2016 12:51:34 GMT
575
+ Content-Type:
576
+ - text/xml
577
+ Content-Length:
578
+ - '384'
579
+ Connection:
580
+ - keep-alive
581
+ x-mws-request-id:
582
+ - 46ed8a41-b281-4325-8b91-50e1d11b00e1
583
+ x-mws-timestamp:
584
+ - '2016-05-23T12:51:34.934Z'
585
+ x-mws-response-context:
586
+ - L4/dMHfGSNXz1SWF0Vt3+bfBN2pLzx/3f7VVbnwSO3bXm/N85Z4Bdi76uC074BwVQX74WADE6XqJ
587
+ yEtvdE2Okw==
588
+ Vary:
589
+ - Accept-Encoding,User-Agent
590
+ body:
591
+ encoding: UTF-8
592
+ string: |
593
+ <?xml version="1.0"?>
594
+ <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
595
+ <GetServiceStatusResult>
596
+ <Status>GREEN</Status>
597
+ <Timestamp>2016-05-23T12:51:34.934Z</Timestamp>
598
+ </GetServiceStatusResult>
599
+ <ResponseMetadata>
600
+ <RequestId>46ed8a41-b281-4325-8b91-50e1d11b00e1</RequestId>
601
+ </ResponseMetadata>
602
+ </GetServiceStatusResponse>
603
+ http_version:
604
+ recorded_at: Mon, 23 May 2016 12:51:35 GMT
605
+ - request:
606
+ method: post
607
+ uri: https://mws.amazonservices.com.mx/FulfillmentInventory/2010-10-01
608
+ body:
609
+ encoding: UTF-8
610
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A35Z&Version=2010-10-01&Signature=vjmwf9iTZGLGg3N7CeixY%2FTAEPVM1FlmAO4UH9jNa%2F8%3D
611
+ headers:
612
+ User-Agent:
613
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
614
+ Content-Type:
615
+ - application/x-www-form-urlencoded
616
+ response:
617
+ status:
618
+ code: 200
619
+ message:
620
+ headers:
621
+ Server:
622
+ - Server
623
+ Date:
624
+ - Mon, 23 May 2016 12:51:35 GMT
625
+ Content-Type:
626
+ - text/xml;charset=utf-8
627
+ Content-Length:
628
+ - '372'
629
+ Connection:
630
+ - keep-alive
631
+ x-mws-request-id:
632
+ - 9554073a-bc1a-485a-a6f0-40a6b4f0b83c
633
+ x-mws-timestamp:
634
+ - '2016-05-23T12:51:35.621Z'
635
+ x-mws-response-context:
636
+ - 0xHIFGh6DwgR6zcwcLD1kTKHPljs24Hb/kK4tT+u0nALOYrwzD5uXfut6ULfHj/IL6QbIS2rs/V/
637
+ 2bvCm908ig==
638
+ Vary:
639
+ - Accept-Encoding,User-Agent
640
+ body:
641
+ encoding: UTF-8
642
+ string: |
643
+ <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
644
+ <ListInventorySupplyResult>
645
+ <MarketplaceId>A1AM78C64UM0Y8</MarketplaceId>
646
+ <InventorySupplyList/>
647
+ </ListInventorySupplyResult>
648
+ <ResponseMetadata>
649
+ <RequestId>9554073a-bc1a-485a-a6f0-40a6b4f0b83c</RequestId>
650
+ </ResponseMetadata>
651
+ </ListInventorySupplyResponse>
652
+ http_version:
653
+ recorded_at: Mon, 23 May 2016 12:51:35 GMT
654
+ - request:
655
+ method: post
656
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
657
+ body:
658
+ encoding: UTF-8
659
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A35Z&Version=2010-10-01&Signature=LbH8VwNviLxDtTloMaCcKobidwBMw9pfKi954g6Hbbs%3D
660
+ headers:
661
+ User-Agent:
662
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
663
+ Content-Type:
664
+ - application/x-www-form-urlencoded
665
+ response:
666
+ status:
667
+ code: 200
668
+ message:
669
+ headers:
670
+ Server:
671
+ - Server
672
+ Date:
673
+ - Mon, 23 May 2016 12:51:36 GMT
674
+ Content-Type:
675
+ - text/xml;charset=utf-8
676
+ Content-Length:
677
+ - '372'
678
+ Connection:
679
+ - keep-alive
680
+ x-mws-request-id:
681
+ - 087c8066-532d-4872-a2a2-0960c3940e98
682
+ x-mws-timestamp:
683
+ - '2016-05-23T12:51:35.949Z'
684
+ x-mws-response-context:
685
+ - L4/dMHfGSNXz1SWF0Vt3+bfBN2pLzx/3f7VVbnwSO3bXm/N85Z4Bdi76uC074BwVQX74WADE6XqJ
686
+ yEtvdE2Okw==
687
+ Vary:
688
+ - Accept-Encoding,User-Agent
689
+ body:
690
+ encoding: UTF-8
691
+ string: |
692
+ <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
693
+ <ListInventorySupplyResult>
694
+ <MarketplaceId>A1RKKUPIHCS9HS</MarketplaceId>
695
+ <InventorySupplyList/>
696
+ </ListInventorySupplyResult>
697
+ <ResponseMetadata>
698
+ <RequestId>087c8066-532d-4872-a2a2-0960c3940e98</RequestId>
699
+ </ResponseMetadata>
700
+ </ListInventorySupplyResponse>
701
+ http_version:
702
+ recorded_at: Mon, 23 May 2016 12:51:36 GMT
703
+ - request:
704
+ method: post
705
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
706
+ body:
707
+ encoding: UTF-8
708
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A36Z&Version=2010-10-01&Signature=fDNCh%2BV0Oc%2FPSdTL7%2BlwWe49%2FOt05jwA2rzBRHIkSgU%3D
709
+ headers:
710
+ User-Agent:
711
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
712
+ Content-Type:
713
+ - application/x-www-form-urlencoded
714
+ response:
715
+ status:
716
+ code: 200
717
+ message:
718
+ headers:
719
+ Server:
720
+ - Server
721
+ Date:
722
+ - Mon, 23 May 2016 12:51:36 GMT
723
+ Content-Type:
724
+ - text/xml;charset=utf-8
725
+ Content-Length:
726
+ - '371'
727
+ Connection:
728
+ - keep-alive
729
+ x-mws-request-id:
730
+ - 9cf16e74-d5de-446c-bfc5-30837e4969f1
731
+ x-mws-timestamp:
732
+ - '2016-05-23T12:51:36.268Z'
733
+ x-mws-response-context:
734
+ - "/Dmb0rR7lKYk+I/r/l3H9BQeVzoxfN/yKUdEH1Iqt62zlXEXhYlT2my3p4JqwMyZ6gjp30mjCzKv
735
+ kbfCWY6Rpg=="
736
+ Vary:
737
+ - Accept-Encoding,User-Agent
738
+ body:
739
+ encoding: UTF-8
740
+ string: |
741
+ <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
742
+ <ListInventorySupplyResult>
743
+ <MarketplaceId>APJ6JRA9NG5V4</MarketplaceId>
744
+ <InventorySupplyList/>
745
+ </ListInventorySupplyResult>
746
+ <ResponseMetadata>
747
+ <RequestId>9cf16e74-d5de-446c-bfc5-30837e4969f1</RequestId>
748
+ </ResponseMetadata>
749
+ </ListInventorySupplyResponse>
750
+ http_version:
751
+ recorded_at: Mon, 23 May 2016 12:51:36 GMT
752
+ - request:
753
+ method: post
754
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
755
+ body:
756
+ encoding: UTF-8
757
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A36Z&Version=2010-10-01&Signature=U%2Fdu3LmuO%2By3UXLKNBT5UBTTPKS4tPbsRbAiIiTagBM%3D
758
+ headers:
759
+ User-Agent:
760
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
761
+ Content-Type:
762
+ - application/x-www-form-urlencoded
763
+ response:
764
+ status:
765
+ code: 200
766
+ message:
767
+ headers:
768
+ Server:
769
+ - Server
770
+ Date:
771
+ - Mon, 23 May 2016 12:51:36 GMT
772
+ Content-Type:
773
+ - text/xml;charset=utf-8
774
+ Content-Length:
775
+ - '372'
776
+ Connection:
777
+ - keep-alive
778
+ x-mws-request-id:
779
+ - 4fb5edd7-4d07-4fee-a6d4-2940908ac8fd
780
+ x-mws-timestamp:
781
+ - '2016-05-23T12:51:36.675Z'
782
+ x-mws-response-context:
783
+ - k9uOiYKjStmeZ/uli4CqKAaYkealWBinKlFsOhwyiTgmpMcJU03vsRh0yqZWPyhib6qSkKSF/xSt
784
+ cWJXzzLQ3w==
785
+ Vary:
786
+ - Accept-Encoding,User-Agent
787
+ body:
788
+ encoding: UTF-8
789
+ string: |
790
+ <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
791
+ <ListInventorySupplyResult>
792
+ <MarketplaceId>A1F83G8C2ARO7P</MarketplaceId>
793
+ <InventorySupplyList/>
794
+ </ListInventorySupplyResult>
795
+ <ResponseMetadata>
796
+ <RequestId>4fb5edd7-4d07-4fee-a6d4-2940908ac8fd</RequestId>
797
+ </ResponseMetadata>
798
+ </ListInventorySupplyResponse>
799
+ http_version:
800
+ recorded_at: Mon, 23 May 2016 12:51:36 GMT
801
+ - request:
802
+ method: post
803
+ uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
804
+ body:
805
+ encoding: UTF-8
806
+ string: AWSAccessKeyId=FILTERED&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A51%3A36Z&Version=2010-10-01&Signature=BsVYhVHvBuFp%2FyFb1zPIrs%2FJ3HEqMrQ28GBqlzSU9Qc%3D
807
+ headers:
808
+ User-Agent:
809
+ - Jeff/1.5.1 (Language=Ruby; Hakans-MacBook.home)
810
+ Content-Type:
811
+ - application/x-www-form-urlencoded
812
+ response:
813
+ status:
814
+ code: 200
815
+ message:
816
+ headers:
817
+ Server:
818
+ - Server
819
+ Date:
820
+ - Mon, 23 May 2016 12:51:37 GMT
821
+ Content-Type:
822
+ - text/xml;charset=utf-8
823
+ Content-Length:
824
+ - '372'
825
+ Connection:
826
+ - keep-alive
827
+ x-mws-request-id:
828
+ - b962c75b-5543-4284-95bf-dd0c875609da
829
+ x-mws-timestamp:
830
+ - '2016-05-23T12:51:36.979Z'
831
+ x-mws-response-context:
832
+ - ONHMjedf7gomYnqQfmPbXMAAXSRWeamEYKwySg4ev4Gtt4mVf5AkgJXXgpXxpC/30zmVE9+ooh5+
833
+ e0lcPXxhng==
834
+ Vary:
835
+ - Accept-Encoding,User-Agent
836
+ body:
837
+ encoding: UTF-8
838
+ string: |
839
+ <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
840
+ <ListInventorySupplyResult>
841
+ <MarketplaceId>A1PA6795UKMFR9</MarketplaceId>
842
+ <InventorySupplyList/>
843
+ </ListInventorySupplyResult>
844
+ <ResponseMetadata>
845
+ <RequestId>b962c75b-5543-4284-95bf-dd0c875609da</RequestId>
846
+ </ResponseMetadata>
847
+ </ListInventorySupplyResponse>
848
+ http_version:
849
+ recorded_at: Mon, 23 May 2016 12:51:37 GMT
850
+ recorded_with: VCR 3.0.1