peddler 0.7.11 → 0.8.0

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: 6cc0d6db282c2a08d0b2de0485bc4d7207fad203
4
- data.tar.gz: 6016b913109f04bc2d2a1b563bb08230e70a8aa3
3
+ metadata.gz: 5bc49a3d30d5d0526341d23cc8ab18cbc9764cdf
4
+ data.tar.gz: ebc222a8d014c5d2e452ca803f7ea96f7ccacd36
5
5
  SHA512:
6
- metadata.gz: 35c849ffde09d49d88255239ac160eefda577e4eebf3bfa585c0f474c94d4c00c89497280a841e68775cc19899a9355e8135c3dd0182017831bf72bc4b1bb0e3
7
- data.tar.gz: dca8f9708d21965ba3e5a92aa6d3537869e8e76094bd66fc73908b4a53d7b422e6e9efc2ab61ce53c75da07188501d871ed0a657c21614dbd3ffb249b60b355a
6
+ metadata.gz: e4aeb6fc9528472d1f48abe3321cd50bdbd72439062bc5dc29b07fcc164fd72e80b1dab01450738d08dccf97fb5eb714398f95d20553f997625a04447b28b750
7
+ data.tar.gz: 647d6c5ad8a20e8f3fcc40a9ddd60fec4b862a70959c89fe04625e28907ecc89917d4300741ede833d7d2c188e22000e48bd2f9c119c5137b0ea39df50a7323d
@@ -23,7 +23,7 @@ module Peddler
23
23
  }
24
24
 
25
25
  attr_accessor :path
26
- attr_writer :merchant_id, :marketplace_id
26
+ attr_writer :merchant_id, :marketplace_id, :parser
27
27
  attr_reader :body
28
28
 
29
29
  alias :configure :tap
@@ -54,6 +54,10 @@ module Peddler
54
54
  @merchant_id ||= ENV['MWS_MERCHANT_ID']
55
55
  end
56
56
 
57
+ def parser
58
+ @parser ||= Parser
59
+ end
60
+
57
61
  def headers
58
62
  @headers ||= {}
59
63
  end
@@ -67,7 +71,7 @@ module Peddler
67
71
  action ? @operation = Operation.new(action) : @operation
68
72
  end
69
73
 
70
- def run(parser = Parser, &blk)
74
+ def run(&blk)
71
75
  opts = { query: operation, headers: headers, expects: 200 }
72
76
  opts.store(:body, body) if body
73
77
  opts.store(:response_block, blk) if block_given?
@@ -1,3 +1,3 @@
1
1
  module Peddler
2
- VERSION = '0.7.11'
2
+ VERSION = '0.8.0'
3
3
  end
@@ -5,14 +5,17 @@ class RecommendationsTest < IntegrationTest
5
5
  def test_gets_last_updated_time_for_recommendations
6
6
  clients.each do |client|
7
7
  res = client.get_last_updated_time_for_recommendations
8
- refute_empty res.parse
8
+ # MWS won't recommend unless account has actual sales
9
+ skip unless content = res.parse
10
+ refute_empty content
9
11
  end
10
12
  end
11
13
 
12
14
  def test_lists_recommendations
13
15
  clients.each do |client|
14
16
  res = client.list_recommendations
15
- refute_empty res.parse
17
+ skip unless content = res.parse
18
+ refute_empty content
16
19
  end
17
20
  end
18
21
 
@@ -40,10 +40,10 @@ class IntegrationTest < MiniTest::Test
40
40
  end
41
41
 
42
42
  def setup
43
- VCR.insert_cassette(api_name)
43
+ ENV['LIVE'] ? VCR.turn_off! : VCR.insert_cassette(api_name)
44
44
  end
45
45
 
46
46
  def teardown
47
- VCR.eject_cassette
47
+ VCR.eject_cassette if VCR.turned_on?
48
48
  end
49
49
  end
File without changes
data/test/mws.yml.mop ADDED
@@ -0,0 +1,4 @@
1
+ - marketplace_id: A1F83G8C2ARO7P
2
+ merchant_id: A3IY67M3U23R42
3
+ aws_access_key_id: AKIAIJQQ3UPICUQXTFFQ
4
+ aws_secret_access_key: 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
@@ -19,6 +19,7 @@ class PeddlerClientTest < MiniTest::Test
19
19
  @client.aws_secret_access_key = 'secret'
20
20
  @client.merchant_id = 'seller'
21
21
  @client.marketplace_id = 'ATVPDKIKX0DER' # US
22
+ @client.parser = Parser
22
23
 
23
24
  @client.operation('Foo')
24
25
  end
@@ -104,14 +105,14 @@ class PeddlerClientTest < MiniTest::Test
104
105
  end
105
106
 
106
107
  def test_runs_a_request
107
- res = @client.run(Parser)
108
+ res = @client.run
108
109
  assert_equal @body, res.body
109
110
  end
110
111
 
111
112
  def test_streams_response
112
113
  chunks = ''
113
114
  streamer = ->(chunk, _, _) { chunks << chunk }
114
- @client.run(Parser, &streamer)
115
+ @client.run(&streamer)
115
116
 
116
117
  assert_equal @body, chunks
117
118
  end
@@ -93,7 +93,7 @@ http_interactions:
93
93
  recorded_at: Fri, 11 Apr 2014 10:20:01 GMT
94
94
  - request:
95
95
  method: post
96
- uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A01Z&Signature=T14tBfwyb0a9p1e8SWZl92he0A%2BON9zH3%2FX0SpKiom0%3D
96
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A01Z&Signature=T14tBfwyb0a9p1e8SWZl92he0A%2BON9zH3%2FX0SpKiom0%3D
97
97
  body:
98
98
  encoding: US-ASCII
99
99
  string: ''
@@ -323,7 +323,7 @@ http_interactions:
323
323
  recorded_at: Fri, 11 Apr 2014 10:20:03 GMT
324
324
  - request:
325
325
  method: post
326
- uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A03Z&Signature=depKyWCIuiJfuStjwnY%2FR8BOBAfNRv9mqJrL3xIqO5c%3D
326
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A03Z&Signature=depKyWCIuiJfuStjwnY%2FR8BOBAfNRv9mqJrL3xIqO5c%3D
327
327
  body:
328
328
  encoding: US-ASCII
329
329
  string: ''
@@ -551,7 +551,7 @@ http_interactions:
551
551
  recorded_at: Sun, 27 Apr 2014 15:56:08 GMT
552
552
  - request:
553
553
  method: post
554
- uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A08Z&Signature=%2FR4nkfnG1ZTt3aQqdcY4lNvIDTTq%2FxFhtGvmXDELVrY%3D
554
+ uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A08Z&Signature=%2FR4nkfnG1ZTt3aQqdcY4lNvIDTTq%2FxFhtGvmXDELVrY%3D
555
555
  body:
556
556
  encoding: US-ASCII
557
557
  string: ''
@@ -643,7 +643,7 @@ http_interactions:
643
643
  recorded_at: Sun, 27 Apr 2014 15:56:09 GMT
644
644
  - request:
645
645
  method: post
646
- uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A09Z&Signature=gCSL%2BRMCv6V%2BEu6Gqc7hZZSMCIw%2FDP1rx4U1iNb0Vx8%3D
646
+ uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A09Z&Signature=gCSL%2BRMCv6V%2BEu6Gqc7hZZSMCIw%2FDP1rx4U1iNb0Vx8%3D
647
647
  body:
648
648
  encoding: US-ASCII
649
649
  string: ''
@@ -733,4 +733,140 @@ http_interactions:
733
733
  </GetServiceStatusResponse>
734
734
  http_version:
735
735
  recorded_at: Sun, 27 Apr 2014 15:56:09 GMT
736
- recorded_with: VCR 2.9.0
736
+ - request:
737
+ method: post
738
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-06-25T14%3A00%3A01Z&Signature=i2pd8RbyuUJmwtyKrEkZSAz%2BqzQm%2FLhYj39EE39yqh8%3D
739
+ body:
740
+ encoding: US-ASCII
741
+ string: ''
742
+ headers:
743
+ User-Agent:
744
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
745
+ response:
746
+ status:
747
+ code: 200
748
+ message:
749
+ headers:
750
+ Date:
751
+ - Wed, 25 Jun 2014 14:00:01 GMT
752
+ Server:
753
+ - AmazonMWS
754
+ x-mws-request-id:
755
+ - b23de09d-5e0c-497a-8105-57dc22249de0
756
+ x-mws-timestamp:
757
+ - '2014-06-25T14:00:01.459Z'
758
+ x-mws-response-context:
759
+ - pm5hzrD8vVLN8G8GL2BnNdgDD6z6jAdUBUXsnfrKSvVvd4HDenYCyWdIWqidtWrLi8B/w1Hx/lU=
760
+ Content-Type:
761
+ - text/xml
762
+ Content-Length:
763
+ - '390'
764
+ Vary:
765
+ - User-Agent
766
+ body:
767
+ encoding: UTF-8
768
+ string: |
769
+ <?xml version="1.0"?>
770
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
771
+ <GetServiceStatusResult>
772
+ <Status>GREEN</Status>
773
+ <Timestamp>2014-06-25T14:00:01.459Z</Timestamp>
774
+ </GetServiceStatusResult>
775
+ <ResponseMetadata>
776
+ <RequestId>b23de09d-5e0c-497a-8105-57dc22249de0</RequestId>
777
+ </ResponseMetadata>
778
+ </GetServiceStatusResponse>
779
+ http_version:
780
+ recorded_at: Wed, 25 Jun 2014 14:00:01 GMT
781
+ - request:
782
+ method: post
783
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-06-25T14%3A00%3A01Z&Signature=7Xpt1rM0GEmhgc2CorjPgIXsGlGC%2BEgIdg%2Fr2RMmKf8%3D
784
+ body:
785
+ encoding: US-ASCII
786
+ string: ''
787
+ headers:
788
+ User-Agent:
789
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
790
+ response:
791
+ status:
792
+ code: 200
793
+ message:
794
+ headers:
795
+ Date:
796
+ - Wed, 25 Jun 2014 14:00:01 GMT
797
+ Server:
798
+ - AmazonMWS
799
+ x-mws-request-id:
800
+ - 64aaf9c5-7631-47fb-9488-cf3cd26bcce7
801
+ x-mws-timestamp:
802
+ - '2014-06-25T14:00:02.173Z'
803
+ x-mws-response-context:
804
+ - b2Ry71z+inEeG0hSTkYQubxgXSngb8bWrQjKkM1+fO4ta/VrL1FIyyoF6Mh7+2s3o4nNofX9sH5p
805
+ lc+DJllctQ==
806
+ Content-Type:
807
+ - text/xml
808
+ Content-Length:
809
+ - '390'
810
+ Vary:
811
+ - User-Agent
812
+ body:
813
+ encoding: UTF-8
814
+ string: |
815
+ <?xml version="1.0"?>
816
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
817
+ <GetServiceStatusResult>
818
+ <Status>GREEN</Status>
819
+ <Timestamp>2014-06-25T14:00:02.173Z</Timestamp>
820
+ </GetServiceStatusResult>
821
+ <ResponseMetadata>
822
+ <RequestId>64aaf9c5-7631-47fb-9488-cf3cd26bcce7</RequestId>
823
+ </ResponseMetadata>
824
+ </GetServiceStatusResponse>
825
+ http_version:
826
+ recorded_at: Wed, 25 Jun 2014 14:00:02 GMT
827
+ - request:
828
+ method: post
829
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAIJQQ3UPICUQXTFFQ&Action=GetServiceStatus&SellerId=A3IY67M3U23R42&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-07-11T15%3A43%3A26Z&Signature=DNQAuYhk0z%2BJXjiah52id%2BKQRdOD34Rc5T9m0jL%2Fncw%3D
830
+ body:
831
+ encoding: US-ASCII
832
+ string: ''
833
+ headers:
834
+ User-Agent:
835
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
836
+ response:
837
+ status:
838
+ code: 200
839
+ message:
840
+ headers:
841
+ Date:
842
+ - Fri, 11 Jul 2014 15:43:26 GMT
843
+ Server:
844
+ - AmazonMWS
845
+ x-mws-request-id:
846
+ - 1a3a1a0c-81da-4bc3-bfdc-d4d99fe210af
847
+ x-mws-timestamp:
848
+ - '2014-07-11T15:43:26.330Z'
849
+ x-mws-response-context:
850
+ - WGXafszm0LKzQuYEIETP2pNJWL+5RpJlIR6JJGwCQASiqST0E71/tCJ5CPt3T7/C7Q81ujIgjGs=
851
+ Content-Type:
852
+ - text/xml
853
+ Content-Length:
854
+ - '390'
855
+ Vary:
856
+ - User-Agent
857
+ body:
858
+ encoding: UTF-8
859
+ string: |
860
+ <?xml version="1.0"?>
861
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
862
+ <GetServiceStatusResult>
863
+ <Status>GREEN</Status>
864
+ <Timestamp>2014-07-11T15:43:26.330Z</Timestamp>
865
+ </GetServiceStatusResult>
866
+ <ResponseMetadata>
867
+ <RequestId>1a3a1a0c-81da-4bc3-bfdc-d4d99fe210af</RequestId>
868
+ </ResponseMetadata>
869
+ </GetServiceStatusResponse>
870
+ http_version:
871
+ recorded_at: Fri, 11 Jul 2014 15:43:26 GMT
872
+ recorded_with: VCR 2.9.2
@@ -48,7 +48,7 @@ http_interactions:
48
48
  recorded_at: Sat, 12 Apr 2014 18:14:16 GMT
49
49
  - request:
50
50
  method: post
51
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A16Z&Signature=sSFmDHwWaU9zfVC7xEekfHf%2Frq0XWWcwLyQeGZCiWKk%3D
51
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A16Z&Signature=sSFmDHwWaU9zfVC7xEekfHf%2Frq0XWWcwLyQeGZCiWKk%3D
52
52
  body:
53
53
  encoding: US-ASCII
54
54
  string: ''
@@ -186,7 +186,7 @@ http_interactions:
186
186
  recorded_at: Sat, 12 Apr 2014 18:14:17 GMT
187
187
  - request:
188
188
  method: post
189
- uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A17Z&Signature=3RFGVyjBqqGSEbRGQAB4ht57iMdHvGfkBJWuvIekJ3Q%3D
189
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A17Z&Signature=3RFGVyjBqqGSEbRGQAB4ht57iMdHvGfkBJWuvIekJ3Q%3D
190
190
  body:
191
191
  encoding: US-ASCII
192
192
  string: ''
@@ -462,7 +462,7 @@ http_interactions:
462
462
  recorded_at: Sun, 27 Apr 2014 15:56:11 GMT
463
463
  - request:
464
464
  method: post
465
- uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A11Z&Signature=vswBr7aopS61JXtmorrj63nVGpidBDrOxSm04SUCjFI%3D
465
+ uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A11Z&Signature=vswBr7aopS61JXtmorrj63nVGpidBDrOxSm04SUCjFI%3D
466
466
  body:
467
467
  encoding: US-ASCII
468
468
  string: ''
@@ -553,7 +553,7 @@ http_interactions:
553
553
  recorded_at: Sun, 27 Apr 2014 15:56:11 GMT
554
554
  - request:
555
555
  method: post
556
- uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A11Z&Signature=VfA0OzNY9YVrpKr%2FodD1umXdKEuCAgDpBC4oe2V4pK8%3D
556
+ uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A11Z&Signature=VfA0OzNY9YVrpKr%2FodD1umXdKEuCAgDpBC4oe2V4pK8%3D
557
557
  body:
558
558
  encoding: US-ASCII
559
559
  string: ''
@@ -735,4 +735,141 @@ http_interactions:
735
735
  </GetServiceStatusResponse>
736
736
  http_version:
737
737
  recorded_at: Sun, 27 Apr 2014 15:56:12 GMT
738
- recorded_with: VCR 2.9.0
738
+ - request:
739
+ method: post
740
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-06-25T13%3A58%3A19Z&Signature=6ndW6A7RGHJIJvSTyXe8rZVTbpG1izoPqBF19u0Vku8%3D
741
+ body:
742
+ encoding: US-ASCII
743
+ string: ''
744
+ headers:
745
+ User-Agent:
746
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
747
+ response:
748
+ status:
749
+ code: 200
750
+ message:
751
+ headers:
752
+ Date:
753
+ - Wed, 25 Jun 2014 13:58:19 GMT
754
+ Server:
755
+ - AmazonMWS
756
+ x-mws-request-id:
757
+ - 9a41c4e9-2d83-4b63-9bf8-80344930b148
758
+ x-mws-timestamp:
759
+ - '2014-06-25T13:58:19.778Z'
760
+ x-mws-response-context:
761
+ - frA8D8amNfCayXEML6fYG+HodQeikx4NI4BZoa2Athl26mFv26UzL3y6kFvJJtr2nqHQqG0Ov9tN
762
+ tVG+E5qzMA==
763
+ Content-Type:
764
+ - text/xml
765
+ Content-Length:
766
+ - '385'
767
+ Vary:
768
+ - User-Agent
769
+ body:
770
+ encoding: UTF-8
771
+ string: |
772
+ <?xml version="1.0"?>
773
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
774
+ <GetServiceStatusResult>
775
+ <Status>GREEN</Status>
776
+ <Timestamp>2014-06-25T13:58:19.778Z</Timestamp>
777
+ </GetServiceStatusResult>
778
+ <ResponseMetadata>
779
+ <RequestId>9a41c4e9-2d83-4b63-9bf8-80344930b148</RequestId>
780
+ </ResponseMetadata>
781
+ </GetServiceStatusResponse>
782
+ http_version:
783
+ recorded_at: Wed, 25 Jun 2014 13:58:19 GMT
784
+ - request:
785
+ method: post
786
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-06-25T13%3A58%3A19Z&Signature=p0vOYZqZRyqAQDPo9UaEi8VPWZRGZ%2F%2F8dlsRU3dLzxE%3D
787
+ body:
788
+ encoding: US-ASCII
789
+ string: ''
790
+ headers:
791
+ User-Agent:
792
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
793
+ response:
794
+ status:
795
+ code: 200
796
+ message:
797
+ headers:
798
+ Date:
799
+ - Wed, 25 Jun 2014 13:58:19 GMT
800
+ Server:
801
+ - AmazonMWS
802
+ x-mws-request-id:
803
+ - 5d742c24-466a-4237-81fb-5db766f198ae
804
+ x-mws-timestamp:
805
+ - '2014-06-25T13:58:19.997Z'
806
+ x-mws-response-context:
807
+ - 5+WsPBnSED2VNNiKjikWsdfQHGwtUZXdaQ+B3DQTHmG512LxEgbeuzwyCgsKVz/z/ed7CtJKirJ+
808
+ ZRolFkrbsw==
809
+ Content-Type:
810
+ - text/xml
811
+ Content-Length:
812
+ - '385'
813
+ Vary:
814
+ - User-Agent
815
+ body:
816
+ encoding: UTF-8
817
+ string: |
818
+ <?xml version="1.0"?>
819
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
820
+ <GetServiceStatusResult>
821
+ <Status>GREEN</Status>
822
+ <Timestamp>2014-06-25T13:58:19.997Z</Timestamp>
823
+ </GetServiceStatusResult>
824
+ <ResponseMetadata>
825
+ <RequestId>5d742c24-466a-4237-81fb-5db766f198ae</RequestId>
826
+ </ResponseMetadata>
827
+ </GetServiceStatusResponse>
828
+ http_version:
829
+ recorded_at: Wed, 25 Jun 2014 13:58:20 GMT
830
+ - request:
831
+ method: post
832
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAIJQQ3UPICUQXTFFQ&Action=GetServiceStatus&SellerId=A3IY67M3U23R42&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-07-11T15%3A43%3A18Z&Signature=OSSckBklvptiGQpeta3DnGsiWUFo3BuTky4ZZZTqsLs%3D
833
+ body:
834
+ encoding: US-ASCII
835
+ string: ''
836
+ headers:
837
+ User-Agent:
838
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
839
+ response:
840
+ status:
841
+ code: 200
842
+ message:
843
+ headers:
844
+ Date:
845
+ - Fri, 11 Jul 2014 15:43:19 GMT
846
+ Server:
847
+ - AmazonMWS
848
+ x-mws-request-id:
849
+ - 7ad8b895-d86d-4595-bc42-f36825d2a9d2
850
+ x-mws-timestamp:
851
+ - '2014-07-11T15:43:18.939Z'
852
+ x-mws-response-context:
853
+ - rDbNRplbhrc9NResCSzT4V3CTKyeV21sT3nrSd0hdBPRFvNqgzVWR1C9n6YWze3MmFUQOM4Z2v8=
854
+ Content-Type:
855
+ - text/xml
856
+ Content-Length:
857
+ - '385'
858
+ Vary:
859
+ - User-Agent
860
+ body:
861
+ encoding: UTF-8
862
+ string: |
863
+ <?xml version="1.0"?>
864
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
865
+ <GetServiceStatusResult>
866
+ <Status>GREEN</Status>
867
+ <Timestamp>2014-07-11T15:43:18.939Z</Timestamp>
868
+ </GetServiceStatusResult>
869
+ <ResponseMetadata>
870
+ <RequestId>7ad8b895-d86d-4595-bc42-f36825d2a9d2</RequestId>
871
+ </ResponseMetadata>
872
+ </GetServiceStatusResponse>
873
+ http_version:
874
+ recorded_at: Fri, 11 Jul 2014 15:43:18 GMT
875
+ recorded_with: VCR 2.9.2