peddler 1.6.2 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47c52a1b5f75f285052401e6397073ed84c09c9a
4
- data.tar.gz: 602df49beef094aacc196ae6f5914404a7a94228
3
+ metadata.gz: 85f658ea57943c161a25cd0c6b0576dfd8c41090
4
+ data.tar.gz: ba083f88dd8a1d37cc4d997ac711bee5c9e7ec0a
5
5
  SHA512:
6
- metadata.gz: 53436bf6a4454256ae5673ace40e55dd753d6eaef38e73640f55e5bdf832d6fa267eb30bf8b9205f09d6a94085c849a6935f4eab219fa10aa2ca6244d42b8b4b
7
- data.tar.gz: ac510facfb0eebde81447bfa2fcde617a144fc0b50d034bf05d22a8e1e845b098c3f438a9617f4cd104a42aeb017c8ec3dcb0745f08964658b0eb73ac72c29c1
6
+ metadata.gz: 0a83a2d55e68860d271967dfdc14bfc6ef9b538a25b198b20b34f45ce73eaa41327b1648d5ed3ff36ed78d8ce711c00c17589ecb9e9d90699768fc37d84deb00
7
+ data.tar.gz: 02d264e02386dbd6f17f71b8fdba7be9dad871b050e248877b4ad16c1374b0476ef095d7f48f4886017607e791be9393f6ae7c273e406d243e6c369425c485f3
@@ -1,19 +1,37 @@
1
1
  module Peddler
2
2
  # @api private
3
+ # @see https://docs.developer.amazonservices.com/en_US/dev_guide/DG_Endpoints.html
3
4
  class Marketplace
5
+ IDS = {
6
+ 'CA' => 'A2EUQ1WTGCTBG2',
7
+ 'MX' => 'A1AM78C64UM0Y8',
8
+ 'US' => 'ATVPDKIKX0DER',
9
+ 'BR' => 'A2Q3Y263D00KWC',
10
+ 'DE' => 'A1PA6795UKMFR9',
11
+ 'ES' => 'A1RKKUPIHCS9HS',
12
+ 'FR' => 'A13V1IB3VIYZZH',
13
+ 'IT' => 'APJ6JRA9NG5V4',
14
+ 'UK' => 'A1F83G8C2ARO7P',
15
+ 'IN' => 'A21TJRUUN4KGV',
16
+ 'AU' => 'A39IBJ37TRP1C6',
17
+ 'JP' => 'A1VC38T7YXB528',
18
+ 'CN' => 'AAHKV2X7AFYLW'
19
+ }.freeze
20
+
4
21
  HOSTS = {
5
- 'A2EUQ1WTGCTBG2' => 'mws.amazonservices.ca',
6
- 'AAHKV2X7AFYLW' => 'mws.amazonservices.com.cn',
7
- 'A1PA6795UKMFR9' => 'mws-eu.amazonservices.com',
8
- 'A1RKKUPIHCS9HS' => 'mws-eu.amazonservices.com',
9
- 'A13V1IB3VIYZZH' => 'mws-eu.amazonservices.com',
10
- 'A1F83G8C2ARO7P' => 'mws-eu.amazonservices.com',
11
- 'A21TJRUUN4KGV' => 'mws.amazonservices.in',
12
- 'APJ6JRA9NG5V4' => 'mws-eu.amazonservices.com',
13
- 'A1VC38T7YXB528' => 'mws.amazonservices.jp',
14
- 'A1AM78C64UM0Y8' => 'mws.amazonservices.com.mx',
15
- 'ATVPDKIKX0DER' => 'mws.amazonservices.com',
16
- 'A39IBJ37TRP1C6' => 'mws.amazonservices.com.au'
22
+ 'CA' => 'mws.amazonservices.com',
23
+ 'MX' => 'mws.amazonservices.com',
24
+ 'US' => 'mws.amazonservices.com',
25
+ 'BR' => 'mws.amazonservices.com',
26
+ 'DE' => 'mws-eu.amazonservices.com',
27
+ 'ES' => 'mws-eu.amazonservices.com',
28
+ 'FR' => 'mws-eu.amazonservices.com',
29
+ 'IT' => 'mws-eu.amazonservices.com',
30
+ 'UK' => 'mws-eu.amazonservices.com',
31
+ 'IN' => 'mws.amazonservices.in',
32
+ 'AU' => 'mws.amazonservices.com.au',
33
+ 'JP' => 'mws.amazonservices.jp',
34
+ 'CN' => 'mws.amazonservices.com.cn'
17
35
  }.freeze
18
36
 
19
37
  BadId = Class.new(StandardError)
@@ -24,6 +42,10 @@ module Peddler
24
42
  @id = id || raise(BadId, 'missing MarketplaceId')
25
43
  end
26
44
 
45
+ def country_code
46
+ @country_code ||= find_country_code
47
+ end
48
+
27
49
  def host
28
50
  @host ||= find_host
29
51
  end
@@ -33,9 +55,10 @@ module Peddler
33
55
  # support some characters. The supersets should be safe to use as drop-in
34
56
  # replacements.
35
57
  def encoding
36
- if japanese?
58
+ case country_code
59
+ when 'JP'
37
60
  'Windows-31J'
38
- elsif chinese?
61
+ when 'CN'
39
62
  'UTF-16'
40
63
  else
41
64
  'CP1252'
@@ -44,16 +67,12 @@ module Peddler
44
67
 
45
68
  private
46
69
 
47
- def find_host
48
- HOSTS.fetch(id) { raise BadId, %("#{id}" is not a valid MarketplaceId) }
49
- end
50
-
51
- def japanese?
52
- host.end_with?('jp')
70
+ def find_country_code
71
+ IDS.key(id) || raise(BadId, %("#{id}" is not a valid MarketplaceId))
53
72
  end
54
73
 
55
- def chinese?
56
- host.end_with?('cn')
74
+ def find_host
75
+ HOSTS[country_code]
57
76
  end
58
77
  end
59
78
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Peddler
4
- VERSION = '1.6.2'.freeze
4
+ VERSION = '1.6.3'.freeze
5
5
  end
@@ -4,7 +4,7 @@ require 'peddler/errors/handler'
4
4
  class TestPeddlerErrorsHandler < MiniTest::Test
5
5
  def setup
6
6
  @error = Peddler::Errors::Handler.call(@cause)
7
- rescue => @error
7
+ rescue StandardError => @error
8
8
  end
9
9
 
10
10
  class CausedByHTTPStatusError < TestPeddlerErrorsHandler
@@ -224,7 +224,7 @@ class TestPeddlerClient < MiniTest::Test
224
224
 
225
225
  begin
226
226
  @client.run
227
- rescue => e
227
+ rescue StandardError => e
228
228
  assert e.response.parse
229
229
  end
230
230
 
@@ -6,6 +6,10 @@ class TestPeddlerMarketplace < MiniTest::Test
6
6
  @marketplace = Peddler::Marketplace.new('ATVPDKIKX0DER')
7
7
  end
8
8
 
9
+ def test_has_a_country_code
10
+ assert @marketplace.country_code
11
+ end
12
+
9
13
  def test_has_a_host
10
14
  assert @marketplace.host
11
15
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://mws.amazonservices.ca/CartInformation/2014-03-01
5
+ uri: https://mws.amazonservices.com/CartInformation/2014-03-01
6
6
  body:
7
7
  encoding: US-ASCII
8
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
@@ -182,7 +182,7 @@ http_interactions:
182
182
  recorded_at: Sat, 28 Mar 2015 18:10:20 GMT
183
183
  - request:
184
184
  method: post
185
- uri: https://mws.amazonservices.com.mx/CartInformation/2014-03-01
185
+ uri: https://mws.amazonservices.com/CartInformation/2014-03-01
186
186
  body:
187
187
  encoding: UTF-8
188
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
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://mws.amazonservices.ca/CustomerInformation/2014-03-01
5
+ uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01
6
6
  body:
7
7
  encoding: US-ASCII
8
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
@@ -12,7 +12,7 @@ http_interactions:
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:34 GMT
@@ -43,7 +43,7 @@ http_interactions:
43
43
  <RequestId>59802c9a-9289-44c6-b669-e5369fa00ad4</RequestId>
44
44
  </ResponseMetadata>
45
45
  </GetServiceStatusResponse>
46
- http_version:
46
+ http_version:
47
47
  recorded_at: Sat, 28 Mar 2015 18:10:35 GMT
48
48
  - request:
49
49
  method: post
@@ -57,7 +57,7 @@ http_interactions:
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:35 GMT
@@ -88,7 +88,7 @@ http_interactions:
88
88
  <RequestId>dc5ffe87-e14f-4eca-9e25-fa23c3e3fd00</RequestId>
89
89
  </ResponseMetadata>
90
90
  </GetServiceStatusResponse>
91
- http_version:
91
+ http_version:
92
92
  recorded_at: Sat, 28 Mar 2015 18:10:36 GMT
93
93
  - request:
94
94
  method: post
@@ -102,7 +102,7 @@ http_interactions:
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:36 GMT
@@ -133,7 +133,7 @@ http_interactions:
133
133
  <RequestId>65b89734-45cb-40c6-aa47-75fdc8545e7c</RequestId>
134
134
  </ResponseMetadata>
135
135
  </GetServiceStatusResponse>
136
- http_version:
136
+ http_version:
137
137
  recorded_at: Sat, 28 Mar 2015 18:10:37 GMT
138
138
  - request:
139
139
  method: post
@@ -147,7 +147,7 @@ http_interactions:
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:37 GMT
@@ -178,11 +178,11 @@ http_interactions:
178
178
  <RequestId>b1686c05-3b19-498f-90ba-b686458f5652</RequestId>
179
179
  </ResponseMetadata>
180
180
  </GetServiceStatusResponse>
181
- http_version:
181
+ http_version:
182
182
  recorded_at: Sat, 28 Mar 2015 18:10:38 GMT
183
183
  - request:
184
184
  method: post
185
- uri: https://mws.amazonservices.com.mx/CustomerInformation/2014-03-01
185
+ uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01
186
186
  body:
187
187
  encoding: UTF-8
188
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
@@ -194,7 +194,7 @@ http_interactions:
194
194
  response:
195
195
  status:
196
196
  code: 200
197
- message:
197
+ message:
198
198
  headers:
199
199
  Server:
200
200
  - Server
@@ -228,7 +228,7 @@ http_interactions:
228
228
  <RequestId>c1f79b32-dfa5-473e-b387-76832d787560</RequestId>
229
229
  </ResponseMetadata>
230
230
  </GetServiceStatusResponse>
231
- http_version:
231
+ http_version:
232
232
  recorded_at: Mon, 23 May 2016 12:37:20 GMT
233
233
  - request:
234
234
  method: post
@@ -244,7 +244,7 @@ http_interactions:
244
244
  response:
245
245
  status:
246
246
  code: 200
247
- message:
247
+ message:
248
248
  headers:
249
249
  Server:
250
250
  - Server
@@ -278,7 +278,7 @@ http_interactions:
278
278
  <RequestId>7e9a7a95-6aad-41d3-87a9-54c78b0e2779</RequestId>
279
279
  </ResponseMetadata>
280
280
  </GetServiceStatusResponse>
281
- http_version:
281
+ http_version:
282
282
  recorded_at: Mon, 23 May 2016 12:37:21 GMT
283
283
  - request:
284
284
  method: post
@@ -294,7 +294,7 @@ http_interactions:
294
294
  response:
295
295
  status:
296
296
  code: 200
297
- message:
297
+ message:
298
298
  headers:
299
299
  Server:
300
300
  - Server
@@ -328,7 +328,7 @@ http_interactions:
328
328
  <RequestId>73c23d8f-2566-46bb-b3c6-06be73712b8c</RequestId>
329
329
  </ResponseMetadata>
330
330
  </GetServiceStatusResponse>
331
- http_version:
331
+ http_version:
332
332
  recorded_at: Mon, 23 May 2016 12:37:21 GMT
333
333
  - request:
334
334
  method: post
@@ -344,7 +344,7 @@ http_interactions:
344
344
  response:
345
345
  status:
346
346
  code: 200
347
- message:
347
+ message:
348
348
  headers:
349
349
  Server:
350
350
  - Server
@@ -378,7 +378,7 @@ http_interactions:
378
378
  <RequestId>ae2b6ac3-0031-48ee-8443-654567005203</RequestId>
379
379
  </ResponseMetadata>
380
380
  </GetServiceStatusResponse>
381
- http_version:
381
+ http_version:
382
382
  recorded_at: Mon, 23 May 2016 12:37:22 GMT
383
383
  - request:
384
384
  method: post
@@ -394,7 +394,7 @@ http_interactions:
394
394
  response:
395
395
  status:
396
396
  code: 200
397
- message:
397
+ message:
398
398
  headers:
399
399
  Server:
400
400
  - Server
@@ -428,6 +428,6 @@ http_interactions:
428
428
  <RequestId>092d1128-bad6-4a64-abda-8ec3a8e47661</RequestId>
429
429
  </ResponseMetadata>
430
430
  </GetServiceStatusResponse>
431
- http_version:
431
+ http_version:
432
432
  recorded_at: Mon, 23 May 2016 12:37:22 GMT
433
433
  recorded_with: VCR 3.0.1
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://mws.amazonservices.com.mx/Orders/2013-09-01
5
+ uri: https://mws.amazonservices.com/Orders/2013-09-01
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A01Z&Version=2013-09-01&Signature=MyyiEUzErh8YiguHaNFTHIU2DckQIGmyIlx5TPsDTuM%3D
@@ -14,7 +14,7 @@ http_interactions:
14
14
  response:
15
15
  status:
16
16
  code: 403
17
- message:
17
+ message:
18
18
  headers:
19
19
  Server:
20
20
  - Server
@@ -47,7 +47,7 @@ http_interactions:
47
47
  </Error>
48
48
  <RequestID>00df398f-e78f-49ff-b71b-aef161edb82c</RequestID>
49
49
  </ErrorResponse>
50
- http_version:
50
+ http_version:
51
51
  recorded_at: Mon, 23 May 2016 12:17:02 GMT
52
52
  - request:
53
53
  method: post
@@ -63,7 +63,7 @@ http_interactions:
63
63
  response:
64
64
  status:
65
65
  code: 403
66
- message:
66
+ message:
67
67
  headers:
68
68
  Server:
69
69
  - Server
@@ -96,7 +96,7 @@ http_interactions:
96
96
  </Error>
97
97
  <RequestID>1d076335-515f-451d-bc8f-c12c93e43874</RequestID>
98
98
  </ErrorResponse>
99
- http_version:
99
+ http_version:
100
100
  recorded_at: Mon, 23 May 2016 12:17:03 GMT
101
101
  - request:
102
102
  method: post
@@ -112,7 +112,7 @@ http_interactions:
112
112
  response:
113
113
  status:
114
114
  code: 403
115
- message:
115
+ message:
116
116
  headers:
117
117
  Server:
118
118
  - Server
@@ -145,11 +145,11 @@ http_interactions:
145
145
  </Error>
146
146
  <RequestID>8a975a37-ae3d-420c-b294-747ece38eb15</RequestID>
147
147
  </ErrorResponse>
148
- http_version:
148
+ http_version:
149
149
  recorded_at: Mon, 23 May 2016 12:17:03 GMT
150
150
  - request:
151
151
  method: post
152
- uri: https://mws.amazonservices.ca/Orders/2013-09-01
152
+ uri: https://mws.amazonservices.com/Orders/2013-09-01
153
153
  body:
154
154
  encoding: UTF-8
155
155
  string: AWSAccessKeyId=foo&Action=GetOrder&AmazonOrderId.Id.1=bar&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A17%3A03Z&Version=2013-09-01&Signature=LZJLm79FpUSEEE64JxOQl%2Fv9%2B8gJundIO9GCm59ZQCI%3D
@@ -161,7 +161,7 @@ http_interactions:
161
161
  response:
162
162
  status:
163
163
  code: 403
164
- message:
164
+ message:
165
165
  headers:
166
166
  Server:
167
167
  - Server
@@ -194,7 +194,7 @@ http_interactions:
194
194
  </Error>
195
195
  <RequestID>627c5924-6175-40bf-98b4-502a938310a6</RequestID>
196
196
  </ErrorResponse>
197
- http_version:
197
+ http_version:
198
198
  recorded_at: Mon, 23 May 2016 12:17:04 GMT
199
199
  - request:
200
200
  method: post
@@ -210,7 +210,7 @@ http_interactions:
210
210
  response:
211
211
  status:
212
212
  code: 403
213
- message:
213
+ message:
214
214
  headers:
215
215
  Server:
216
216
  - Server
@@ -243,7 +243,7 @@ http_interactions:
243
243
  </Error>
244
244
  <RequestID>3a0e7604-1e30-4a02-bcbb-80b241aeb392</RequestID>
245
245
  </ErrorResponse>
246
- http_version:
246
+ http_version:
247
247
  recorded_at: Mon, 23 May 2016 12:17:05 GMT
248
248
  - request:
249
249
  method: post
@@ -259,7 +259,7 @@ http_interactions:
259
259
  response:
260
260
  status:
261
261
  code: 403
262
- message:
262
+ message:
263
263
  headers:
264
264
  Server:
265
265
  - Server
@@ -292,7 +292,7 @@ http_interactions:
292
292
  </Error>
293
293
  <RequestID>336abcbc-d2e0-482e-a17c-3ebc1840702b</RequestID>
294
294
  </ErrorResponse>
295
- http_version:
295
+ http_version:
296
296
  recorded_at: Mon, 23 May 2016 12:17:07 GMT
297
297
  - request:
298
298
  method: post
@@ -308,7 +308,7 @@ http_interactions:
308
308
  response:
309
309
  status:
310
310
  code: 403
311
- message:
311
+ message:
312
312
  headers:
313
313
  Server:
314
314
  - Server
@@ -341,7 +341,7 @@ http_interactions:
341
341
  </Error>
342
342
  <RequestID>fa494823-6cc9-4a16-9ec2-2d219c793f10</RequestID>
343
343
  </ErrorResponse>
344
- http_version:
344
+ http_version:
345
345
  recorded_at: Mon, 23 May 2016 12:17:07 GMT
346
346
  - request:
347
347
  method: post
@@ -357,7 +357,7 @@ http_interactions:
357
357
  response:
358
358
  status:
359
359
  code: 403
360
- message:
360
+ message:
361
361
  headers:
362
362
  Server:
363
363
  - Server
@@ -390,7 +390,7 @@ http_interactions:
390
390
  </Error>
391
391
  <RequestID>c84732da-1e06-4be4-afa7-ddbabbe2de28</RequestID>
392
392
  </ErrorResponse>
393
- http_version:
393
+ http_version:
394
394
  recorded_at: Mon, 23 May 2016 12:17:07 GMT
395
395
  - request:
396
396
  method: post
@@ -406,7 +406,7 @@ http_interactions:
406
406
  response:
407
407
  status:
408
408
  code: 403
409
- message:
409
+ message:
410
410
  headers:
411
411
  Server:
412
412
  - Server
@@ -439,11 +439,11 @@ http_interactions:
439
439
  </Error>
440
440
  <RequestID>e62e40db-56b1-426a-9931-e0ae1855ab3a</RequestID>
441
441
  </ErrorResponse>
442
- http_version:
442
+ http_version:
443
443
  recorded_at: Mon, 23 May 2016 12:17:08 GMT
444
444
  - request:
445
445
  method: post
446
- uri: https://mws.amazonservices.com.mx/Orders/2013-09-01
446
+ uri: https://mws.amazonservices.com/Orders/2013-09-01
447
447
  body:
448
448
  encoding: UTF-8
449
449
  string: AWSAccessKeyId=FILTERED&Action=GetOrder&AmazonOrderId.Id.1=foo&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A25%3A16Z&Version=2013-09-01&Signature=PxxDltfEifbWVzOka2AIu%2BS4JdOtTe%2BinKYqPi1%2B2iw%3D
@@ -455,7 +455,7 @@ http_interactions:
455
455
  response:
456
456
  status:
457
457
  code: 503
458
- message:
458
+ message:
459
459
  headers:
460
460
  Server:
461
461
  - Server
@@ -488,7 +488,7 @@ http_interactions:
488
488
  </Error>
489
489
  <RequestID>c09da471-3728-45bd-b149-011107c6b222</RequestID>
490
490
  </ErrorResponse>
491
- http_version:
491
+ http_version:
492
492
  recorded_at: Mon, 23 May 2016 12:25:16 GMT
493
493
  - request:
494
494
  method: post
@@ -504,7 +504,7 @@ http_interactions:
504
504
  response:
505
505
  status:
506
506
  code: 503
507
- message:
507
+ message:
508
508
  headers:
509
509
  Server:
510
510
  - Server
@@ -537,7 +537,7 @@ http_interactions:
537
537
  </Error>
538
538
  <RequestID>7e25a2e4-32ee-4e6f-9e55-87a7466cfa76</RequestID>
539
539
  </ErrorResponse>
540
- http_version:
540
+ http_version:
541
541
  recorded_at: Mon, 23 May 2016 12:25:31 GMT
542
542
  - request:
543
543
  method: post
@@ -553,7 +553,7 @@ http_interactions:
553
553
  response:
554
554
  status:
555
555
  code: 503
556
- message:
556
+ message:
557
557
  headers:
558
558
  Server:
559
559
  - Server
@@ -586,11 +586,11 @@ http_interactions:
586
586
  </Error>
587
587
  <RequestID>46605ebf-ff3a-4413-8f10-07698078db28</RequestID>
588
588
  </ErrorResponse>
589
- http_version:
589
+ http_version:
590
590
  recorded_at: Mon, 23 May 2016 12:25:31 GMT
591
591
  - request:
592
592
  method: post
593
- uri: https://mws.amazonservices.ca/Orders/2013-09-01
593
+ uri: https://mws.amazonservices.com/Orders/2013-09-01
594
594
  body:
595
595
  encoding: UTF-8
596
596
  string: AWSAccessKeyId=FILTERED&Action=GetOrder&AmazonOrderId.Id.1=foo&SellerId=FILTERED&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2016-05-23T12%3A26%3A15Z&Version=2013-09-01&Signature=IZu%2FVXyk42RToI%2FBx42JvU4rcaOVydIJy5FxE06tQRg%3D
@@ -602,7 +602,7 @@ http_interactions:
602
602
  response:
603
603
  status:
604
604
  code: 503
605
- message:
605
+ message:
606
606
  headers:
607
607
  Server:
608
608
  - Server
@@ -635,7 +635,7 @@ http_interactions:
635
635
  </Error>
636
636
  <RequestID>7f0f0820-dc56-41d1-9962-580e1b92966d</RequestID>
637
637
  </ErrorResponse>
638
- http_version:
638
+ http_version:
639
639
  recorded_at: Mon, 23 May 2016 12:26:16 GMT
640
640
  - request:
641
641
  method: post
@@ -651,7 +651,7 @@ http_interactions:
651
651
  response:
652
652
  status:
653
653
  code: 503
654
- message:
654
+ message:
655
655
  headers:
656
656
  Server:
657
657
  - Server
@@ -684,7 +684,7 @@ http_interactions:
684
684
  </Error>
685
685
  <RequestID>429d190c-0c4a-46c8-b9a9-5f46511b53b3</RequestID>
686
686
  </ErrorResponse>
687
- http_version:
687
+ http_version:
688
688
  recorded_at: Mon, 23 May 2016 12:26:36 GMT
689
689
  - request:
690
690
  method: post
@@ -700,7 +700,7 @@ http_interactions:
700
700
  response:
701
701
  status:
702
702
  code: 503
703
- message:
703
+ message:
704
704
  headers:
705
705
  Server:
706
706
  - Server
@@ -733,7 +733,7 @@ http_interactions:
733
733
  </Error>
734
734
  <RequestID>759022d5-6990-4bfc-9351-7cc67d008955</RequestID>
735
735
  </ErrorResponse>
736
- http_version:
736
+ http_version:
737
737
  recorded_at: Mon, 23 May 2016 12:28:24 GMT
738
738
  - request:
739
739
  method: post
@@ -749,7 +749,7 @@ http_interactions:
749
749
  response:
750
750
  status:
751
751
  code: 503
752
- message:
752
+ message:
753
753
  headers:
754
754
  Server:
755
755
  - Server
@@ -782,7 +782,7 @@ http_interactions:
782
782
  </Error>
783
783
  <RequestID>19f0a252-96de-4a79-8052-b66fb4f441be</RequestID>
784
784
  </ErrorResponse>
785
- http_version:
785
+ http_version:
786
786
  recorded_at: Mon, 23 May 2016 12:29:37 GMT
787
787
  - request:
788
788
  method: post
@@ -798,7 +798,7 @@ http_interactions:
798
798
  response:
799
799
  status:
800
800
  code: 503
801
- message:
801
+ message:
802
802
  headers:
803
803
  Server:
804
804
  - Server
@@ -831,7 +831,7 @@ http_interactions:
831
831
  </Error>
832
832
  <RequestID>840d7fe6-fbf4-4bc6-a7d6-018269e8e57b</RequestID>
833
833
  </ErrorResponse>
834
- http_version:
834
+ http_version:
835
835
  recorded_at: Mon, 23 May 2016 12:30:11 GMT
836
836
  - request:
837
837
  method: post
@@ -847,7 +847,7 @@ http_interactions:
847
847
  response:
848
848
  status:
849
849
  code: 503
850
- message:
850
+ message:
851
851
  headers:
852
852
  Server:
853
853
  - Server
@@ -880,6 +880,6 @@ http_interactions:
880
880
  </Error>
881
881
  <RequestID>5ca0af8a-0443-4a26-8b63-a9764863c7d8</RequestID>
882
882
  </ErrorResponse>
883
- http_version:
883
+ http_version:
884
884
  recorded_at: Mon, 23 May 2016 12:33:45 GMT
885
885
  recorded_with: VCR 3.0.1