peddler 2.1.0 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of peddler might be problematic. Click here for more details.

Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -41
  3. data/lib/mws.rb +2 -1
  4. data/lib/mws/easy_ship.rb +3 -0
  5. data/lib/mws/easy_ship/client.rb +93 -0
  6. data/lib/mws/fulfillment_inbound_shipment/client.rb +2 -2
  7. data/lib/mws/fulfillment_outbound_shipment/client.rb +1 -1
  8. data/lib/mws/orders/client.rb +7 -9
  9. data/lib/mws/reports/client.rb +9 -0
  10. data/lib/mws/shipment_invoicing.rb +3 -0
  11. data/lib/mws/shipment_invoicing/client.rb +74 -0
  12. data/lib/peddler/client.rb +18 -15
  13. data/lib/peddler/errors/builder.rb +7 -2
  14. data/lib/peddler/errors/class_generator.rb +7 -2
  15. data/lib/peddler/errors/error.rb +6 -2
  16. data/lib/peddler/errors/parser.rb +1 -1
  17. data/lib/peddler/flat_file_parser.rb +6 -4
  18. data/lib/peddler/headers.rb +53 -1
  19. data/lib/peddler/marketplace.rb +24 -22
  20. data/lib/peddler/operation.rb +17 -11
  21. data/lib/peddler/parser.rb +1 -1
  22. data/lib/peddler/structured_list.rb +1 -1
  23. data/lib/peddler/vcr_matcher.rb +7 -7
  24. data/lib/peddler/version.rb +1 -1
  25. data/lib/peddler/xml_parser.rb +1 -1
  26. data/lib/peddler/xml_response_parser.rb +3 -2
  27. metadata +15 -150
  28. data/lib/mws/off_amazon_payments/client.rb +0 -362
  29. data/lib/mws/reports/parser.rb +0 -35
  30. data/test/credentials.rb +0 -23
  31. data/test/helper.rb +0 -15
  32. data/test/integration/test_errors.rb +0 -25
  33. data/test/integration/test_feeds.rb +0 -37
  34. data/test/integration/test_fulfillment_inbound_shipment.rb +0 -35
  35. data/test/integration/test_fulfillment_inventory.rb +0 -20
  36. data/test/integration/test_fulfillment_outbound_shipment.rb +0 -13
  37. data/test/integration/test_merchant_fulfillment.rb +0 -69
  38. data/test/integration/test_multibyte_queries.rb +0 -17
  39. data/test/integration/test_mws_headers.rb +0 -16
  40. data/test/integration/test_off_amazon_payments.rb +0 -13
  41. data/test/integration/test_orders.rb +0 -30
  42. data/test/integration/test_products.rb +0 -97
  43. data/test/integration/test_recommendations.rb +0 -20
  44. data/test/integration/test_reports.rb +0 -51
  45. data/test/integration/test_sellers.rb +0 -13
  46. data/test/integration/test_subscriptions.rb +0 -27
  47. data/test/integration_helper.rb +0 -53
  48. data/test/mws.yml +0 -36
  49. data/test/mws.yml.example +0 -32
  50. data/test/null_client.rb +0 -25
  51. data/test/recorder.rb +0 -39
  52. data/test/unit/mws/test_feeds_client.rb +0 -103
  53. data/test/unit/mws/test_finances_client.rb +0 -74
  54. data/test/unit/mws/test_fulfillment_inbound_shipment_client.rb +0 -426
  55. data/test/unit/mws/test_fulfillment_inventory_client.rb +0 -48
  56. data/test/unit/mws/test_fulfillment_outbound_shipment_client.rb +0 -202
  57. data/test/unit/mws/test_merchant_fulfillment_client.rb +0 -109
  58. data/test/unit/mws/test_off_amazon_payments_client.rb +0 -286
  59. data/test/unit/mws/test_orders_client.rb +0 -111
  60. data/test/unit/mws/test_products_client.rb +0 -248
  61. data/test/unit/mws/test_recommendations_client.rb +0 -62
  62. data/test/unit/mws/test_reports_client.rb +0 -209
  63. data/test/unit/mws/test_sellers_client.rb +0 -47
  64. data/test/unit/mws/test_subscriptions_client.rb +0 -182
  65. data/test/unit/peddler/errors/test_builder.rb +0 -65
  66. data/test/unit/peddler/errors/test_class_generator.rb +0 -18
  67. data/test/unit/peddler/errors/test_error.rb +0 -33
  68. data/test/unit/peddler/errors/test_parser.rb +0 -44
  69. data/test/unit/peddler/test_client.rb +0 -203
  70. data/test/unit/peddler/test_flat_file_parser.rb +0 -102
  71. data/test/unit/peddler/test_headers.rb +0 -55
  72. data/test/unit/peddler/test_marketplace.rb +0 -47
  73. data/test/unit/peddler/test_operation.rb +0 -87
  74. data/test/unit/peddler/test_parser.rb +0 -36
  75. data/test/unit/peddler/test_structured_list.rb +0 -39
  76. data/test/unit/peddler/test_vcr_matcher.rb +0 -55
  77. data/test/unit/peddler/test_xml_parser.rb +0 -37
  78. data/test/unit/peddler/test_xml_response_parser.rb +0 -39
  79. data/test/unit/test_mws.rb +0 -11
  80. data/test/vcr_cassettes/CartInformation.yml +0 -433
  81. data/test/vcr_cassettes/CustomerInformation.yml +0 -433
  82. data/test/vcr_cassettes/Errors.yml +0 -885
  83. data/test/vcr_cassettes/Feeds.yml +0 -9957
  84. data/test/vcr_cassettes/FulfillmentInboundShipment.yml +0 -6166
  85. data/test/vcr_cassettes/FulfillmentInventory.yml +0 -850
  86. data/test/vcr_cassettes/FulfillmentOutboundShipment.yml +0 -433
  87. data/test/vcr_cassettes/MWSHeaders.yml +0 -2964
  88. data/test/vcr_cassettes/MerchantFulfillment.yml +0 -753
  89. data/test/vcr_cassettes/MultibyteQueries.yml +0 -437
  90. data/test/vcr_cassettes/OffAmazonPayments.yml +0 -433
  91. data/test/vcr_cassettes/Orders.yml +0 -4740
  92. data/test/vcr_cassettes/PeddlerVCRMatcher.yml +0 -41
  93. data/test/vcr_cassettes/Products.yml +0 -7139
  94. data/test/vcr_cassettes/Recommendations.yml +0 -3145
  95. data/test/vcr_cassettes/Reports.yml +0 -5549
  96. data/test/vcr_cassettes/Sellers.yml +0 -433
  97. data/test/vcr_cassettes/Subscriptions.yml +0 -1529
@@ -1,850 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://mws.amazonservices.com/FulfillmentInventory/2010-10-01
6
- body:
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
9
- headers:
10
- User-Agent:
11
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
12
- response:
13
- status:
14
- code: 200
15
- message:
16
- headers:
17
- Date:
18
- - Sat, 28 Mar 2015 18:11:55 GMT
19
- Server:
20
- - AmazonMWS
21
- x-mws-request-id:
22
- - eb331337-63db-481f-807d-7f7e7cb66c28
23
- x-mws-timestamp:
24
- - '2015-03-28T18:11:56.456Z'
25
- x-mws-response-context:
26
- - jN3pcuxvt7h19/C9JK4NTcv/mFlP0nnVb2GW2VsSCQzDACIJKDu2v9EsxBs703dCYNVFqWBPHcs=
27
- Content-Type:
28
- - text/xml
29
- Content-Length:
30
- - '384'
31
- Vary:
32
- - User-Agent
33
- body:
34
- encoding: UTF-8
35
- string: |
36
- <?xml version="1.0"?>
37
- <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
38
- <GetServiceStatusResult>
39
- <Status>GREEN</Status>
40
- <Timestamp>2015-03-28T18:11:56.456Z</Timestamp>
41
- </GetServiceStatusResult>
42
- <ResponseMetadata>
43
- <RequestId>eb331337-63db-481f-807d-7f7e7cb66c28</RequestId>
44
- </ResponseMetadata>
45
- </GetServiceStatusResponse>
46
- http_version:
47
- recorded_at: Sat, 28 Mar 2015 18:11:56 GMT
48
- - request:
49
- method: post
50
- uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
51
- body:
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
54
- headers:
55
- User-Agent:
56
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
57
- response:
58
- status:
59
- code: 200
60
- message:
61
- headers:
62
- Date:
63
- - Sat, 28 Mar 2015 18:11:56 GMT
64
- Server:
65
- - AmazonMWS
66
- x-mws-request-id:
67
- - f08a8ecf-a2ba-4478-b855-b5d85ec96091
68
- x-mws-timestamp:
69
- - '2015-03-28T18:11:56.862Z'
70
- x-mws-response-context:
71
- - vePSdQzYDswPcqfz9U6LocIPN8CN/Wcx0ss5E+WpPT/iUAurnd+SwYj4XExTrwGXZFVydEBE984=
72
- Content-Type:
73
- - text/xml
74
- Content-Length:
75
- - '384'
76
- Vary:
77
- - User-Agent
78
- body:
79
- encoding: UTF-8
80
- string: |
81
- <?xml version="1.0"?>
82
- <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
83
- <GetServiceStatusResult>
84
- <Status>GREEN</Status>
85
- <Timestamp>2015-03-28T18:11:56.862Z</Timestamp>
86
- </GetServiceStatusResult>
87
- <ResponseMetadata>
88
- <RequestId>f08a8ecf-a2ba-4478-b855-b5d85ec96091</RequestId>
89
- </ResponseMetadata>
90
- </GetServiceStatusResponse>
91
- http_version:
92
- recorded_at: Sat, 28 Mar 2015 18:11:56 GMT
93
- - request:
94
- method: post
95
- uri: https://mws.amazonservices.jp/FulfillmentInventory/2010-10-01
96
- body:
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
99
- headers:
100
- User-Agent:
101
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
102
- response:
103
- status:
104
- code: 200
105
- message:
106
- headers:
107
- Date:
108
- - Sat, 28 Mar 2015 18:11:57 GMT
109
- Server:
110
- - AmazonMWS
111
- x-mws-request-id:
112
- - ae1985bc-e95e-49e8-a162-054fbd642fe7
113
- x-mws-timestamp:
114
- - '2015-03-28T18:11:57.812Z'
115
- x-mws-response-context:
116
- - zYnlvTYYcM6iCAUR6gh25ub5loyKA6SHCuecy5Ds40WoNkR124yr/J2KDhQNdtLnXfnFz5jBiIg=
117
- Content-Type:
118
- - text/xml
119
- Content-Length:
120
- - '384'
121
- Vary:
122
- - User-Agent
123
- body:
124
- encoding: UTF-8
125
- string: |
126
- <?xml version="1.0"?>
127
- <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
128
- <GetServiceStatusResult>
129
- <Status>GREEN</Status>
130
- <Timestamp>2015-03-28T18:11:57.812Z</Timestamp>
131
- </GetServiceStatusResult>
132
- <ResponseMetadata>
133
- <RequestId>ae1985bc-e95e-49e8-a162-054fbd642fe7</RequestId>
134
- </ResponseMetadata>
135
- </GetServiceStatusResponse>
136
- http_version:
137
- recorded_at: Sat, 28 Mar 2015 18:11:57 GMT
138
- - request:
139
- method: post
140
- uri: https://mws.amazonservices.com/FulfillmentInventory/2010-10-01
141
- body:
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
144
- headers:
145
- User-Agent:
146
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
147
- response:
148
- status:
149
- code: 200
150
- message:
151
- headers:
152
- Date:
153
- - Sat, 28 Mar 2015 18:11:57 GMT
154
- Server:
155
- - AmazonMWS
156
- x-mws-request-id:
157
- - 8dc7807a-426e-4401-b1b8-63affb69eb44
158
- x-mws-timestamp:
159
- - '2015-03-28T18:11:58.404Z'
160
- x-mws-response-context:
161
- - E6HShIVMHKl4c60Fze0uvV3LOecT05P5jMwH/Ihc9dt1fOuGJ5mVCp7EGwSkBFpck/iflQqdrzY=
162
- Content-Type:
163
- - text/xml
164
- Content-Length:
165
- - '384'
166
- Vary:
167
- - User-Agent
168
- body:
169
- encoding: UTF-8
170
- string: |
171
- <?xml version="1.0"?>
172
- <GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
173
- <GetServiceStatusResult>
174
- <Status>GREEN</Status>
175
- <Timestamp>2015-03-28T18:11:58.404Z</Timestamp>
176
- </GetServiceStatusResult>
177
- <ResponseMetadata>
178
- <RequestId>8dc7807a-426e-4401-b1b8-63affb69eb44</RequestId>
179
- </ResponseMetadata>
180
- </GetServiceStatusResponse>
181
- http_version:
182
- recorded_at: Sat, 28 Mar 2015 18:11:58 GMT
183
- - request:
184
- method: post
185
- uri: https://mws.amazonservices.com/FulfillmentInventory/2010-10-01
186
- body:
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
189
- headers:
190
- User-Agent:
191
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
192
- response:
193
- status:
194
- code: 200
195
- message:
196
- headers:
197
- Date:
198
- - Sat, 28 Mar 2015 18:11:59 GMT
199
- Server:
200
- - AmazonMWS
201
- x-mws-request-id:
202
- - 7077489c-8c8b-4620-aefa-493b53aa39da
203
- x-mws-timestamp:
204
- - '2015-03-28T18:11:59.969Z'
205
- x-mws-response-context:
206
- - zUZgr49ZkZHhbGPzC5Fw7g87q0H59ZsMSZvYZMGCNE4CsUPi9ktQ8nuszPo4O+tH7SbdmC7zzQk=
207
- Content-Type:
208
- - text/xml;charset=utf-8
209
- Content-Length:
210
- - '322'
211
- Vary:
212
- - User-Agent
213
- body:
214
- encoding: UTF-8
215
- string: |
216
- <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
217
- <ListInventorySupplyResult>
218
- <InventorySupplyList/>
219
- </ListInventorySupplyResult>
220
- <ResponseMetadata>
221
- <RequestId>7077489c-8c8b-4620-aefa-493b53aa39da</RequestId>
222
- </ResponseMetadata>
223
- </ListInventorySupplyResponse>
224
- http_version:
225
- recorded_at: Sat, 28 Mar 2015 18:12:00 GMT
226
- - request:
227
- method: post
228
- uri: https://mws-eu.amazonservices.com/FulfillmentInventory/2010-10-01
229
- body:
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
232
- headers:
233
- User-Agent:
234
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
235
- response:
236
- status:
237
- code: 200
238
- message:
239
- headers:
240
- Date:
241
- - Sat, 28 Mar 2015 18:11:59 GMT
242
- Server:
243
- - AmazonMWS
244
- x-mws-request-id:
245
- - 0bce4c49-3217-4b86-9ad1-0295818b91fe
246
- x-mws-timestamp:
247
- - '2015-03-28T18:12:00.487Z'
248
- x-mws-response-context:
249
- - OOV0PyX91yGqMOtKpUPxzjgBIUWs55WU5BslN1vX/VRYX5MkzxCg8YfYnlOsbR2xrqEDqnGPjH0=
250
- Content-Type:
251
- - text/xml;charset=utf-8
252
- Content-Length:
253
- - '322'
254
- Vary:
255
- - User-Agent
256
- body:
257
- encoding: UTF-8
258
- string: |
259
- <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
260
- <ListInventorySupplyResult>
261
- <InventorySupplyList/>
262
- </ListInventorySupplyResult>
263
- <ResponseMetadata>
264
- <RequestId>0bce4c49-3217-4b86-9ad1-0295818b91fe</RequestId>
265
- </ResponseMetadata>
266
- </ListInventorySupplyResponse>
267
- http_version:
268
- recorded_at: Sat, 28 Mar 2015 18:12:00 GMT
269
- - request:
270
- method: post
271
- uri: https://mws.amazonservices.jp/FulfillmentInventory/2010-10-01
272
- body:
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
275
- headers:
276
- User-Agent:
277
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
278
- response:
279
- status:
280
- code: 200
281
- message:
282
- headers:
283
- Date:
284
- - Sat, 28 Mar 2015 18:12:01 GMT
285
- Server:
286
- - AmazonMWS
287
- x-mws-request-id:
288
- - ac3c3c0a-2694-47dc-bf25-bd54de8e21f4
289
- x-mws-timestamp:
290
- - '2015-03-28T18:12:01.494Z'
291
- x-mws-response-context:
292
- - Z2qbV0CUpDTgxRx7/eBP4CHTsyt5SC6W/6FIiuQShdJPxChWMi8RXlZNLnnxirKobQbiD6XxeRw=
293
- Content-Type:
294
- - text/xml;charset=utf-8
295
- Content-Length:
296
- - '322'
297
- Vary:
298
- - User-Agent
299
- body:
300
- encoding: UTF-8
301
- string: |
302
- <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
303
- <ListInventorySupplyResult>
304
- <InventorySupplyList/>
305
- </ListInventorySupplyResult>
306
- <ResponseMetadata>
307
- <RequestId>ac3c3c0a-2694-47dc-bf25-bd54de8e21f4</RequestId>
308
- </ResponseMetadata>
309
- </ListInventorySupplyResponse>
310
- http_version:
311
- recorded_at: Sat, 28 Mar 2015 18:12:01 GMT
312
- - request:
313
- method: post
314
- uri: https://mws.amazonservices.com/FulfillmentInventory/2010-10-01
315
- body:
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
318
- headers:
319
- User-Agent:
320
- - Jeff/1.2.0 (Language=Ruby; Hakans-MacBook-Pro.local)
321
- response:
322
- status:
323
- code: 200
324
- message:
325
- headers:
326
- Date:
327
- - Sat, 28 Mar 2015 18:12:02 GMT
328
- Server:
329
- - AmazonMWS
330
- x-mws-request-id:
331
- - 32c50063-f3b5-4aef-8d2a-eb8ad14b2fc7
332
- x-mws-timestamp:
333
- - '2015-03-28T18:12:02.497Z'
334
- x-mws-response-context:
335
- - c3vPpNAr0FIC6NN/sl0e025Ae3eu7Rzn3c8IgqVX7xGtDj65ZaOntpsP8DUOBUBOesZfk/Nqx8s=
336
- Content-Type:
337
- - text/xml;charset=utf-8
338
- Content-Length:
339
- - '322'
340
- Vary:
341
- - User-Agent
342
- body:
343
- encoding: UTF-8
344
- string: |
345
- <ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
346
- <ListInventorySupplyResult>
347
- <InventorySupplyList/>
348
- </ListInventorySupplyResult>
349
- <ResponseMetadata>
350
- <RequestId>32c50063-f3b5-4aef-8d2a-eb8ad14b2fc7</RequestId>
351
- </ResponseMetadata>
352
- </ListInventorySupplyResponse>
353
- http_version:
354
- recorded_at: Sat, 28 Mar 2015 18:12:02 GMT
355
- - request:
356
- method: post
357
- uri: https://mws.amazonservices.com/FulfillmentInventory/2010-10-01
358
- body:
359
- encoding: UTF-8
360
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&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/FulfillmentInventory/2010-10-01
608
- body:
609
- encoding: UTF-8
610
- string: AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=MERCHANT_ID&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=AWS_ACCESS_KEY_ID&Action=ListInventorySupply&QueryStartDateTime=2016-04-23&SellerId=MERCHANT_ID&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