peddler 0.7.3 → 0.7.5

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: ca8e9fe6a47e5cccc306a70f677258da4961d26d
4
- data.tar.gz: 957610329feaeac29520948412e8f35b5c12bbf1
3
+ metadata.gz: 5537d0a71a142b77a5d4e7c75f28782ccaa61174
4
+ data.tar.gz: bb52e6a9cb17b2eef6eead010d236d0c4c47f619
5
5
  SHA512:
6
- metadata.gz: f2578b06b9c122f2fee63a93ee402d80d1510cb562a0a990a01aafa9057f033782a1236d480db87522bde2c04445ecb21e03ebf34cec8279856cc8b7ead6c3c8
7
- data.tar.gz: bc035f67004a839dc72cb57cdc830696cf10a2e91d3c416f05864460429cbe3de05464e394e591d45b9781406b9d9a25dc3e410d077cf339979ceb6fc86ed90e
6
+ metadata.gz: 3f4d91eeab8827b397da404a9d7be300adf8ee2180613bfbc19a23ce4c048c3a2b8a2adc0b571bbb562dac860de9b1114ac143d53203c0077407122c58bece1f
7
+ data.tar.gz: 2cd754fe9a2e94dd71dc61c98ac3afeb41b552370d51ce5ef2ffcb6c3b3a87412ddc7b14c4e66540a125c0b5b8752fe9bf8d3c7143bf47114325d7c619985e84
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ![Peddler][3]
6
6
 
7
- **Peddler** is a Ruby interface to the [Amazon MWS API][4], a collection of web services that help Amazon sellers to programmatically exchange data on their listings, orders, payments, reports, and more.
7
+ **Peddler** is a Ruby interface to the [Amazon MWS API][4], a collection of web services that help Amazon sellers programmatically exchange data on their listings, orders, payments, reports, and more.
8
8
 
9
9
  To use Amazon MWS, you must have an eligible seller account.
10
10
 
@@ -47,16 +47,12 @@ export AWS_SECRET_ACCESS_KEY="rOMa3ydPBTJ3AD0bxERTOX0Fv0fAC6Q0s6/czMZO"
47
47
 
48
48
  ### Cart Information
49
49
 
50
- **Not implemented**
51
-
52
50
  With the MWS Cart Information API, you can retrieve shopping carts that your Amazon Webstore customers have created. The Cart Information API enables you to programmatically integrate Amazon Webstore cart information with your CRM systems, marketing applications, and other systems that require cart data.
53
51
 
54
52
  [Read more](http://rubydoc.info/github/hakanensari/peddler/MWS/CartInformation)
55
53
 
56
54
  ### Customer Information
57
55
 
58
- **Not implemented**
59
-
60
56
  With the MWS Customer Information API, you can retrieve information from the customer accounts of your Amazon Webstore customers. This customer information includes customer name, contact information, customer account type, and associated Amazon Webstore marketplaces. The Customer Information API enables you to programmatically integrate Amazon Webstore customer account information with your CRM systems, marketing applications, and other systems that require customer data.
61
57
 
62
58
  [Read more](http://rubydoc.info/github/hakanensari/peddler/MWS/CustomerInformation)
@@ -4,10 +4,66 @@ module MWS
4
4
  # With the Cart Information API, you can retrieve shopping carts that your
5
5
  # Amazon Webstore customers have created. The Cart Information API enables you
6
6
  # to programmatically integrate Amazon Webstore cart information with your CRM
7
- # systems, marketing applications, and other systems that require cart data.
7
+ # systems, marketing applications, and other systems that require cart data
8
8
  #
9
- # @todo Not implemented
9
+ # @note The Cart Information API only returns cart information for Webstores
10
+ # with Seller-Branded Checkout. No cart information is returned for Amazon
11
+ # Webstores with Amazon.com checkout. If your Webstore offers both checkout
12
+ # options, cart information is returned only for Seller-Branded Checkout
13
+ # accounts.
14
+ # @note In addition to registering for Amazon MWS, you must also request
15
+ # authorization to use the Cart Information API section.
10
16
  class CartInformation < ::Peddler::Client
11
- path 'CartInformation/2014-03-01'
17
+ path '/CartInformation/2014-03-01'
18
+
19
+ # Lists shopping carts
20
+ #
21
+ # @see http://docs.developer.amazonservices.com/en_US/cart_info/CartInfo_ListCarts.html
22
+ # @param date_range_start [String, #iso8601]
23
+ # @param opts [Hash]
24
+ # @option opts [String] :marketplace_id
25
+ # @option opts [String, #iso8601] :date_range_end
26
+ # @return [Peddler::XMLParser]
27
+ def list_carts(date_range_start, opts = {})
28
+ operation('ListCarts')
29
+ .add(opts.merge('DateRangeStart' => date_range_start))
30
+
31
+ run
32
+ end
33
+
34
+ # Lists the next page of shopping carts
35
+ #
36
+ # @see http://docs.developer.amazonservices.com/en_US/cart_info/CartInfo_ListCartsByNextToken.html
37
+ # @param next_token [String]
38
+ # @return [Peddler::XMLParser]
39
+ def list_carts_by_next_token(next_token)
40
+ operation('ListCartsByNextToken')
41
+ .add('NextToken' => next_token)
42
+
43
+ run
44
+ end
45
+
46
+ # Returns shopping carts based on specified values
47
+ #
48
+ # @see http://docs.developer.amazonservices.com/en_US/cart_info/CartInfo_GetCarts.html
49
+ # @param marketplace_id [String]
50
+ # @param cart_id_list [Array<String>]
51
+ # @return [Peddler::XMLParser]
52
+ def get_carts(marketplace_id, *cart_id_list)
53
+ operation('GetCarts')
54
+ .add('MarketplaceId' => marketplace_id, 'CartIdList' => cart_id_list)
55
+ .structure!('CartIdList', 'CartId')
56
+
57
+ run
58
+ end
59
+
60
+ # Gets the service status of the API
61
+ #
62
+ # @see http://docs.developer.amazonservices.com/en_US/cart_info/MWS_GetServiceStatus.html
63
+ # @return [Peddler::XMLParser]
64
+ def get_service_status
65
+ operation('GetServiceStatus')
66
+ run
67
+ end
12
68
  end
13
69
  end
@@ -9,8 +9,69 @@ module MWS
9
9
  # account information with your CRM systems, marketing applications, and other
10
10
  # systems that require customer data.
11
11
  #
12
- # @todo Not implemented
12
+ # @note The Customer Information API section only returns customer information
13
+ # for Webstores with Seller-Branded Checkout. No customer information is
14
+ # returned for Webstores with Amazon.com checkout. If your Webstore offers
15
+ # both checkout options, customer information is returned only for
16
+ # Seller-Branded Checkout accounts.
17
+ # @note In addition to registering for Amazon MWS, you must request
18
+ # authorization to use the Customer Information API.
13
19
  class CustomerInformation < ::Peddler::Client
14
- path 'CustomerInformation/2014-03-01'
20
+ path '/CustomerInformation/2014-03-01'
21
+
22
+ # Lists customer accounts based on search criteria that you specify
23
+ #
24
+ # @see http://docs.developer.amazonservices.com/en_US/customer_info/CustomerInfo_ListCustomers.html
25
+ # @param opts [Hash]
26
+ # @option opts [String] :marketplace_id
27
+ # @option opts [String, #iso8601] :date_range_start
28
+ # @option opts [String, #iso8601] :date_range_end
29
+ # @option opts [String] :date_range_type
30
+ # @return [Peddler::XMLParser]
31
+ def list_customers(opts = {})
32
+ operation('ListCarts')
33
+ .add(opts)
34
+
35
+ run
36
+ end
37
+
38
+ # Lists the next page of customer accounts
39
+ #
40
+ # @see http://docs.developer.amazonservices.com/en_US/customer_info/CustomerInfo_ListCustomersByNextToken.html
41
+ # @param next_token [String]
42
+ # @return [Peddler::XMLParser]
43
+ def list_customers_by_next_token(next_token)
44
+ operation('ListCustomersByNextToken')
45
+ .add('NextToken' => next_token)
46
+
47
+ run
48
+ end
49
+
50
+ # Returns customer accounts based on the CustomerId values that you specify
51
+ #
52
+ # @see http://docs.developer.amazonservices.com/en_US/customer_info/CustomerInfo_GetCustomersForCustomerId.html
53
+ # @overload get_customers_for_customer_id(*customer_id_list, opts = {})
54
+ # @param customer_id_list [Array<String>]
55
+ # @param opts [Hash]
56
+ # @option opts [String] :marketplace_id
57
+ # @return [Peddler::XMLParser]
58
+ def get_customers_for_customer_id(*customer_id_list)
59
+ opts = extract_options(id_list)
60
+ operation('GetCustomersForCustomerId')
61
+ .add(opts.merge('CustomerIdList' => customer_id_list))
62
+ .structure!('CustomerIdList', 'CustomerId')
63
+
64
+ run
65
+ end
66
+
67
+ # Gets the service status of the API
68
+ #
69
+ # @see http://docs.developer.amazonservices.com/en_US/customer_info/MWS_GetServiceStatus.html
70
+ # @return [Peddler::XMLParser]
71
+ def get_service_status
72
+ operation('GetServiceStatus')
73
+ run
74
+ end
75
+
15
76
  end
16
77
  end
@@ -8,6 +8,6 @@ module MWS
8
8
  #
9
9
  # @todo Not implemented
10
10
  class FulfillmentInboundShipment < ::Peddler::Client
11
- path 'FulfillmentInboundShipment/2010-10-01'
11
+ path '/FulfillmentInboundShipment/2010-10-01'
12
12
  end
13
13
  end
@@ -10,6 +10,6 @@ module MWS
10
10
  #
11
11
  # @todo Not implemented
12
12
  class FulfillmentInventory < ::Peddler::Client
13
- path 'FulfillmentInventory/2010-10-01'
13
+ path '/FulfillmentInventory/2010-10-01'
14
14
  end
15
15
  end
@@ -12,6 +12,6 @@ module MWS
12
12
  #
13
13
  # @todo Not implemented
14
14
  class FulfillmentOutboundShipment < ::Peddler::Client
15
- path 'FulfillmentOutboundShipment/2010-10-01'
15
+ path '/FulfillmentOutboundShipment/2010-10-01'
16
16
  end
17
17
  end
@@ -7,8 +7,13 @@ module MWS
7
7
  # information provided by the buyer from their Amazon account. It allows you
8
8
  # to authorize, capture, and refund payments, enabling a variety of payments
9
9
  # scenarios.
10
+ #
11
+ # @note The Off-Amazon Payments API section is only applicable to payments
12
+ # made through the Login and Pay with Amazon service offered by Amazon
13
+ # Payments. You cannot use this API section to process payments for Amazon
14
+ # Marketplace, Amazon Webstore, or Checkout by Amazon.
10
15
  class OffAmazonPayments < ::Peddler::Client
11
- path 'OffAmazonPayments/2013-01-01/'
16
+ path '/OffAmazonPayments/2013-01-01/'
12
17
 
13
18
  # Sets order reference details such as the order total and a description for
14
19
  # the order
data/lib/mws/orders.rb CHANGED
@@ -4,7 +4,7 @@ module MWS
4
4
  # With the MWS Orders API, you can list orders created or updated during a
5
5
  # time frame you specify or retrieve information about specific orders.
6
6
  class Orders < ::Peddler::Client
7
- path 'Orders/2013-09-01'
7
+ path '/Orders/2013-09-01'
8
8
 
9
9
  # Lists orders
10
10
  #
data/lib/mws/products.rb CHANGED
@@ -6,7 +6,7 @@ module MWS
6
6
  # sourcing and pricing decisions for listing those products on Amazon
7
7
  # Marketplace websites.
8
8
  class Products < ::Peddler::Client
9
- path 'Products/2011-10-01'
9
+ path '/Products/2011-10-01'
10
10
 
11
11
  # Lists products and their attributes, based on a search query
12
12
  #
@@ -6,7 +6,7 @@ module MWS
6
6
  # is an actionable, timely, and personalized opportunity to increase your
7
7
  # sales and performance.
8
8
  class Recommendations < ::Peddler::Client
9
- path 'Recommendations/2013-04-01'
9
+ path '/Recommendations/2013-04-01'
10
10
 
11
11
  # Checks whether there are active recommendations for each category for the
12
12
  # given marketplace, and if there are, returns the time when recommendations
data/lib/mws/sellers.rb CHANGED
@@ -4,7 +4,7 @@ module MWS
4
4
  # The Sellers API lets sellers retrieve information about their seller
5
5
  # account, such as the marketplaces they participate in.
6
6
  class Sellers < ::Peddler::Client
7
- path 'Sellers/2011-07-01'
7
+ path '/Sellers/2011-07-01'
8
8
 
9
9
  # Lists the marketplaces the seller participates in
10
10
  #
@@ -8,7 +8,7 @@ module MWS
8
8
  # Amazon MWS service. Instead, the information is sent directly to you when
9
9
  # an event occurs to which you are subscribed.
10
10
  class Subscriptions < ::Peddler::Client
11
- path 'Subscriptions/2013-07-01'
11
+ path '/Subscriptions/2013-07-01'
12
12
 
13
13
  # Registers a new destination to receive notifications
14
14
  #
@@ -30,7 +30,7 @@ module Peddler
30
30
  params('SellerId' => -> { merchant_id })
31
31
 
32
32
  def self.path(path = nil)
33
- path ? @path = path : @path
33
+ path ? @path = path : @path ||= '/'
34
34
  end
35
35
 
36
36
  def self.inherited(base)
@@ -38,7 +38,7 @@ module Peddler
38
38
  end
39
39
 
40
40
  def aws_endpoint
41
- "https://#{host}/#{self.class.path}"
41
+ "https://#{host}#{self.class.path}"
42
42
  end
43
43
 
44
44
  def marketplace_id
@@ -1,3 +1,3 @@
1
1
  module Peddler
2
- VERSION = '0.7.3'
2
+ VERSION = '0.7.5'
3
3
  end
@@ -0,0 +1,11 @@
1
+ require 'integration_helper'
2
+ require 'mws/cart_information'
3
+
4
+ class CartInformationTest < IntegrationTest
5
+ def test_gets_service_status
6
+ clients.each do |client|
7
+ res = client.get_service_status
8
+ refute_empty res.parse
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ require 'integration_helper'
2
+ require 'mws/customer_information'
3
+
4
+ class CustomerInformationTest < IntegrationTest
5
+ def test_gets_service_status
6
+ clients.each do |client|
7
+ res = client.get_service_status
8
+ refute_empty res.parse
9
+ end
10
+ end
11
+ end
@@ -24,8 +24,12 @@ class ClientTest < MiniTest::Test
24
24
  end
25
25
 
26
26
  def test_configures_path
27
- @klass.path('Foo')
28
- assert @client.aws_endpoint.match(/Foo$/)
27
+ @klass.path('/Foo')
28
+ assert @client.aws_endpoint.match(%r{/Foo$})
29
+ end
30
+
31
+ def test_default_path
32
+ assert_equal '/', @klass.path
29
33
  end
30
34
 
31
35
  def test_has_user_agent
@@ -0,0 +1,370 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://mws.amazonservices.ca/CartInformation/2014-03-01?AWSAccessKeyId=AKIAITHQMZUJROSOP27Q&Action=GetServiceStatus&SellerId=A2A7WNXBU01UJW&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A19%3A59Z&Signature=VuDRUwV6aTnFQtE42XHCNah6vNmv3xupFtBfQgaH4pk%3D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ Date:
18
+ - Fri, 11 Apr 2014 10:20:00 GMT
19
+ Server:
20
+ - AmazonMWS
21
+ x-mws-request-id:
22
+ - be690400-6a18-414d-92c2-83681e18666e
23
+ x-mws-timestamp:
24
+ - '2014-04-11T10:20:00.913Z'
25
+ x-mws-response-context:
26
+ - 5ohDCfT29Nyj3JQoMlowNiJs2M2Ar/6QdUevtV4Tor1BoaTy1r4pUtgU0r2hbBmYk7mcqFWfpzU=
27
+ Content-Type:
28
+ - text/xml
29
+ Content-Length:
30
+ - '390'
31
+ Vary:
32
+ - User-Agent
33
+ body:
34
+ encoding: UTF-8
35
+ string: |
36
+ <?xml version="1.0"?>
37
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
38
+ <GetServiceStatusResult>
39
+ <Status>GREEN</Status>
40
+ <Timestamp>2014-04-11T10:20:00.913Z</Timestamp>
41
+ </GetServiceStatusResult>
42
+ <ResponseMetadata>
43
+ <RequestId>be690400-6a18-414d-92c2-83681e18666e</RequestId>
44
+ </ResponseMetadata>
45
+ </GetServiceStatusResponse>
46
+ http_version:
47
+ recorded_at: Fri, 11 Apr 2014 10:20:00 GMT
48
+ - request:
49
+ method: post
50
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAI6X4QZRXSHGHABJA&Action=GetServiceStatus&SellerId=A2NEU7G6RGUKF&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A00Z&Signature=plcK9tFXDXxeGV6HmGIPyebUL%2F0wGQRjNwheQrZzv5Q%3D
51
+ body:
52
+ encoding: US-ASCII
53
+ string: ''
54
+ headers:
55
+ User-Agent:
56
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
57
+ response:
58
+ status:
59
+ code: 200
60
+ message:
61
+ headers:
62
+ Date:
63
+ - Fri, 11 Apr 2014 10:20:00 GMT
64
+ Server:
65
+ - AmazonMWS
66
+ x-mws-request-id:
67
+ - 09e77876-b48c-4f09-bd46-c2cb54ae1bd9
68
+ x-mws-timestamp:
69
+ - '2014-04-11T10:20:01.263Z'
70
+ x-mws-response-context:
71
+ - 61qaV3icO2MQ3UZWcI5tCGghz7IQX5MJ0P/Ayr/lPft9qqr8Oj8XhMhLGNTXjrFyWdvbPdwy1Rvj
72
+ M1DeXJARBQ==
73
+ Content-Type:
74
+ - text/xml
75
+ Content-Length:
76
+ - '390'
77
+ Vary:
78
+ - User-Agent
79
+ body:
80
+ encoding: UTF-8
81
+ string: |
82
+ <?xml version="1.0"?>
83
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
84
+ <GetServiceStatusResult>
85
+ <Status>GREEN</Status>
86
+ <Timestamp>2014-04-11T10:20:01.263Z</Timestamp>
87
+ </GetServiceStatusResult>
88
+ <ResponseMetadata>
89
+ <RequestId>09e77876-b48c-4f09-bd46-c2cb54ae1bd9</RequestId>
90
+ </ResponseMetadata>
91
+ </GetServiceStatusResponse>
92
+ http_version:
93
+ recorded_at: Fri, 11 Apr 2014 10:20:01 GMT
94
+ - request:
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
97
+ body:
98
+ encoding: US-ASCII
99
+ string: ''
100
+ headers:
101
+ User-Agent:
102
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
103
+ response:
104
+ status:
105
+ code: 200
106
+ message:
107
+ headers:
108
+ Date:
109
+ - Fri, 11 Apr 2014 10:20:01 GMT
110
+ Server:
111
+ - AmazonMWS
112
+ x-mws-request-id:
113
+ - cd55fc14-62d9-4c8a-9793-0d38985e7003
114
+ x-mws-timestamp:
115
+ - '2014-04-11T10:20:01.610Z'
116
+ x-mws-response-context:
117
+ - S4//pMPR0Bl0/yVZdchllTqBmYh+jD0bq308gVP4pmdDlioDu8+gGF8uRfyG1H6RzsyYkWU+c6Xg
118
+ T/GDcDIC5g==
119
+ Content-Type:
120
+ - text/xml
121
+ Content-Length:
122
+ - '390'
123
+ Vary:
124
+ - User-Agent
125
+ body:
126
+ encoding: UTF-8
127
+ string: |
128
+ <?xml version="1.0"?>
129
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
130
+ <GetServiceStatusResult>
131
+ <Status>GREEN</Status>
132
+ <Timestamp>2014-04-11T10:20:01.610Z</Timestamp>
133
+ </GetServiceStatusResult>
134
+ <ResponseMetadata>
135
+ <RequestId>cd55fc14-62d9-4c8a-9793-0d38985e7003</RequestId>
136
+ </ResponseMetadata>
137
+ </GetServiceStatusResponse>
138
+ http_version:
139
+ recorded_at: Fri, 11 Apr 2014 10:20:01 GMT
140
+ - request:
141
+ method: post
142
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAJJDQ2MJTMPXKJE4A&Action=GetServiceStatus&SellerId=A2D9DZ30GEWP6N&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A01Z&Signature=jqyudwyCKv3XKDlFuNSSYLWcTlHHCwFi%2Fd%2B2Hh5w98Y%3D
143
+ body:
144
+ encoding: US-ASCII
145
+ string: ''
146
+ headers:
147
+ User-Agent:
148
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
149
+ response:
150
+ status:
151
+ code: 200
152
+ message:
153
+ headers:
154
+ Date:
155
+ - Fri, 11 Apr 2014 10:20:01 GMT
156
+ Server:
157
+ - AmazonMWS
158
+ x-mws-request-id:
159
+ - 2d438986-d9cd-4cda-8a96-1247fa4e7ba8
160
+ x-mws-timestamp:
161
+ - '2014-04-11T10:20:01.878Z'
162
+ x-mws-response-context:
163
+ - RwWET/zli53C8mIUHg8BkIvR8ho2nxkczsa9McMmjrXjmImDvuBL80qBaQPUWqr1NC8IUTOZ9sit
164
+ 2x3I1JaIJA==
165
+ Content-Type:
166
+ - text/xml
167
+ Content-Length:
168
+ - '390'
169
+ Vary:
170
+ - User-Agent
171
+ body:
172
+ encoding: UTF-8
173
+ string: |
174
+ <?xml version="1.0"?>
175
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
176
+ <GetServiceStatusResult>
177
+ <Status>GREEN</Status>
178
+ <Timestamp>2014-04-11T10:20:01.878Z</Timestamp>
179
+ </GetServiceStatusResult>
180
+ <ResponseMetadata>
181
+ <RequestId>2d438986-d9cd-4cda-8a96-1247fa4e7ba8</RequestId>
182
+ </ResponseMetadata>
183
+ </GetServiceStatusResponse>
184
+ http_version:
185
+ recorded_at: Fri, 11 Apr 2014 10:20:01 GMT
186
+ - request:
187
+ method: post
188
+ uri: https://mws-eu.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAIORT7554FEBW7UBQ&Action=GetServiceStatus&SellerId=A7ZXDJZD3UIRG&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A01Z&Signature=QnhA7sgKnGRJuA5hbClisQ%2BUScAQPwMi6fgJwhWAomQ%3D
189
+ body:
190
+ encoding: US-ASCII
191
+ string: ''
192
+ headers:
193
+ User-Agent:
194
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
195
+ response:
196
+ status:
197
+ code: 200
198
+ message:
199
+ headers:
200
+ Date:
201
+ - Fri, 11 Apr 2014 10:20:01 GMT
202
+ Server:
203
+ - AmazonMWS
204
+ x-mws-request-id:
205
+ - 83288a5c-7c67-4453-8228-d5c2c1ee3183
206
+ x-mws-timestamp:
207
+ - '2014-04-11T10:20:02.207Z'
208
+ x-mws-response-context:
209
+ - B8iwW5PFQEyLsLw09MmHCD/CEIkK8Rdh5swPCyOVKoo2hpAXUXb3K8+2UvSMr5UnxDHLXtfRCpzR
210
+ d6yx7gwGqw==
211
+ Content-Type:
212
+ - text/xml
213
+ Content-Length:
214
+ - '390'
215
+ Vary:
216
+ - User-Agent
217
+ body:
218
+ encoding: UTF-8
219
+ string: |
220
+ <?xml version="1.0"?>
221
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
222
+ <GetServiceStatusResult>
223
+ <Status>GREEN</Status>
224
+ <Timestamp>2014-04-11T10:20:02.207Z</Timestamp>
225
+ </GetServiceStatusResult>
226
+ <ResponseMetadata>
227
+ <RequestId>83288a5c-7c67-4453-8228-d5c2c1ee3183</RequestId>
228
+ </ResponseMetadata>
229
+ </GetServiceStatusResponse>
230
+ http_version:
231
+ recorded_at: Fri, 11 Apr 2014 10:20:01 GMT
232
+ - request:
233
+ method: post
234
+ uri: https://mws.amazonservices.com/CartInformation/2014-03-01?AWSAccessKeyId=AKIAJ767ZET2BZR4UDDQ&Action=GetServiceStatus&SellerId=A2H6NH4SQYFZ4M&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A01Z&Signature=3N1%2FW6sz0blT6Q%2B5N%2Fl%2BfOTzv9wAKoncbjTDmPsZOwI%3D
235
+ body:
236
+ encoding: US-ASCII
237
+ string: ''
238
+ headers:
239
+ User-Agent:
240
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
241
+ response:
242
+ status:
243
+ code: 200
244
+ message:
245
+ headers:
246
+ Date:
247
+ - Fri, 11 Apr 2014 10:20:03 GMT
248
+ Server:
249
+ - AmazonMWS
250
+ x-mws-request-id:
251
+ - bf0e8a3e-a398-4ace-a4e3-53e3925aa4a2
252
+ x-mws-timestamp:
253
+ - '2014-04-11T10:20:03.154Z'
254
+ x-mws-response-context:
255
+ - GYnftP9H8qf78Q7W6/L04prw7vLiHlCIlWdJLA4JF31rzgJ4GOT36mpfMdqqvGrfLA/BJz8RiHLr
256
+ WYOBgtzuYA==
257
+ Content-Type:
258
+ - text/xml
259
+ Content-Length:
260
+ - '390'
261
+ Vary:
262
+ - User-Agent
263
+ body:
264
+ encoding: UTF-8
265
+ string: |
266
+ <?xml version="1.0"?>
267
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
268
+ <GetServiceStatusResult>
269
+ <Status>GREEN</Status>
270
+ <Timestamp>2014-04-11T10:20:03.154Z</Timestamp>
271
+ </GetServiceStatusResult>
272
+ <ResponseMetadata>
273
+ <RequestId>bf0e8a3e-a398-4ace-a4e3-53e3925aa4a2</RequestId>
274
+ </ResponseMetadata>
275
+ </GetServiceStatusResponse>
276
+ http_version:
277
+ recorded_at: Fri, 11 Apr 2014 10:20:02 GMT
278
+ - request:
279
+ method: post
280
+ uri: https://mws.amazonservices.jp/CartInformation/2014-03-01?AWSAccessKeyId=AKIAJ5RDDSRROM6GXQ5Q&Action=GetServiceStatus&SellerId=A7BU5WGNVGQ1I&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-11T10%3A20%3A02Z&Signature=EEafg2KOcfJTsz4VFOzbSANEoiJq4cSgv4fW316Tx2g%3D
281
+ body:
282
+ encoding: US-ASCII
283
+ string: ''
284
+ headers:
285
+ User-Agent:
286
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
287
+ response:
288
+ status:
289
+ code: 200
290
+ message:
291
+ headers:
292
+ Date:
293
+ - Fri, 11 Apr 2014 10:20:03 GMT
294
+ Server:
295
+ - AmazonMWS
296
+ x-mws-request-id:
297
+ - c0174256-d8b9-4c6d-bb91-7684b0b9261e
298
+ x-mws-timestamp:
299
+ - '2014-04-11T10:20:03.942Z'
300
+ x-mws-response-context:
301
+ - 2uOlskyOMO44KVKQyKqVbYCgdVdI/sja/ZbjjvGEmOhnoPvJExqp7kX4JYUXu9we5Ur5I1mk8RxI
302
+ 3POPcK4dKA==
303
+ Content-Type:
304
+ - text/xml
305
+ Content-Length:
306
+ - '390'
307
+ Vary:
308
+ - User-Agent
309
+ body:
310
+ encoding: UTF-8
311
+ string: |
312
+ <?xml version="1.0"?>
313
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
314
+ <GetServiceStatusResult>
315
+ <Status>GREEN</Status>
316
+ <Timestamp>2014-04-11T10:20:03.942Z</Timestamp>
317
+ </GetServiceStatusResult>
318
+ <ResponseMetadata>
319
+ <RequestId>c0174256-d8b9-4c6d-bb91-7684b0b9261e</RequestId>
320
+ </ResponseMetadata>
321
+ </GetServiceStatusResponse>
322
+ http_version:
323
+ recorded_at: Fri, 11 Apr 2014 10:20:03 GMT
324
+ - request:
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
327
+ body:
328
+ encoding: US-ASCII
329
+ string: ''
330
+ headers:
331
+ User-Agent:
332
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
333
+ response:
334
+ status:
335
+ code: 200
336
+ message:
337
+ headers:
338
+ Date:
339
+ - Fri, 11 Apr 2014 10:20:04 GMT
340
+ Server:
341
+ - AmazonMWS
342
+ x-mws-request-id:
343
+ - 61ce74b0-803e-4c66-964d-976abb49a5cf
344
+ x-mws-timestamp:
345
+ - '2014-04-11T10:20:04.356Z'
346
+ x-mws-response-context:
347
+ - 0YBtvpAS9lj6xVoMR6Yawb5YLVv8/OQ0701owXQRreAbK5+/4YWp+3NfzjLij6vebKLtnvU18/nz
348
+ nHy4S5rqJA==
349
+ Content-Type:
350
+ - text/xml
351
+ Content-Length:
352
+ - '390'
353
+ Vary:
354
+ - User-Agent
355
+ body:
356
+ encoding: UTF-8
357
+ string: |
358
+ <?xml version="1.0"?>
359
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/schema/CartInformation/2014-03-01">
360
+ <GetServiceStatusResult>
361
+ <Status>GREEN</Status>
362
+ <Timestamp>2014-04-11T10:20:04.356Z</Timestamp>
363
+ </GetServiceStatusResult>
364
+ <ResponseMetadata>
365
+ <RequestId>61ce74b0-803e-4c66-964d-976abb49a5cf</RequestId>
366
+ </ResponseMetadata>
367
+ </GetServiceStatusResponse>
368
+ http_version:
369
+ recorded_at: Fri, 11 Apr 2014 10:20:04 GMT
370
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,371 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://mws.amazonservices.ca/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAITHQMZUJROSOP27Q&Action=GetServiceStatus&SellerId=A2A7WNXBU01UJW&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A15Z&Signature=sygTm0nlj2hJNzs5KdorRWPkW0VTRn8QM7LCD5mKaCY%3D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ Date:
18
+ - Sat, 12 Apr 2014 18:14:15 GMT
19
+ Server:
20
+ - AmazonMWS
21
+ x-mws-request-id:
22
+ - c18a77a3-2fc7-4ae3-9fa7-949eb65ab7ae
23
+ x-mws-timestamp:
24
+ - '2014-04-12T18:14:16.310Z'
25
+ x-mws-response-context:
26
+ - q5BQ9/xvr33SaLBRcX8TunruhqQCokzaj9E6J2gPuhNioK4bGzaiLnpQkL5OVrJC9tToDVm+0UiX
27
+ Zb8ofOQgJQ==
28
+ Content-Type:
29
+ - text/xml
30
+ Content-Length:
31
+ - '385'
32
+ Vary:
33
+ - User-Agent
34
+ body:
35
+ encoding: UTF-8
36
+ string: |
37
+ <?xml version="1.0"?>
38
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
39
+ <GetServiceStatusResult>
40
+ <Status>GREEN</Status>
41
+ <Timestamp>2014-04-12T18:14:16.310Z</Timestamp>
42
+ </GetServiceStatusResult>
43
+ <ResponseMetadata>
44
+ <RequestId>c18a77a3-2fc7-4ae3-9fa7-949eb65ab7ae</RequestId>
45
+ </ResponseMetadata>
46
+ </GetServiceStatusResponse>
47
+ http_version:
48
+ recorded_at: Sat, 12 Apr 2014 18:14:16 GMT
49
+ - request:
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
52
+ body:
53
+ encoding: US-ASCII
54
+ string: ''
55
+ headers:
56
+ User-Agent:
57
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
58
+ response:
59
+ status:
60
+ code: 200
61
+ message:
62
+ headers:
63
+ Date:
64
+ - Sat, 12 Apr 2014 18:14:16 GMT
65
+ Server:
66
+ - AmazonMWS
67
+ x-mws-request-id:
68
+ - 67835707-7c45-4956-ad23-b5e073c31261
69
+ x-mws-timestamp:
70
+ - '2014-04-12T18:14:16.560Z'
71
+ x-mws-response-context:
72
+ - L4Or5ziyZ90CErPtvkM+h2UiP/eYG7OAGRQ0nX623RTS9SCVzWqY276LoHi/sVA/ek+EOJOnJjhw
73
+ s2oytSOr9w==
74
+ Content-Type:
75
+ - text/xml
76
+ Content-Length:
77
+ - '385'
78
+ Vary:
79
+ - User-Agent
80
+ body:
81
+ encoding: UTF-8
82
+ string: |
83
+ <?xml version="1.0"?>
84
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
85
+ <GetServiceStatusResult>
86
+ <Status>GREEN</Status>
87
+ <Timestamp>2014-04-12T18:14:16.560Z</Timestamp>
88
+ </GetServiceStatusResult>
89
+ <ResponseMetadata>
90
+ <RequestId>67835707-7c45-4956-ad23-b5e073c31261</RequestId>
91
+ </ResponseMetadata>
92
+ </GetServiceStatusResponse>
93
+ http_version:
94
+ recorded_at: Sat, 12 Apr 2014 18:14:16 GMT
95
+ - request:
96
+ method: post
97
+ uri: https://mws.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAJ767ZET2BZR4UDDQ&Action=GetServiceStatus&SellerId=A2H6NH4SQYFZ4M&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A16Z&Signature=tFX6RdACxXzmzNOw3Yuu6nuKNOgH6VcBC2VbLY7lcHQ%3D
98
+ body:
99
+ encoding: US-ASCII
100
+ string: ''
101
+ headers:
102
+ User-Agent:
103
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
104
+ response:
105
+ status:
106
+ code: 200
107
+ message:
108
+ headers:
109
+ Date:
110
+ - Sat, 12 Apr 2014 18:14:16 GMT
111
+ Server:
112
+ - AmazonMWS
113
+ x-mws-request-id:
114
+ - b3e323ff-0fc2-4afc-ba41-f813bcc0cffd
115
+ x-mws-timestamp:
116
+ - '2014-04-12T18:14:17.027Z'
117
+ x-mws-response-context:
118
+ - js3cIGNVOe1f7eU9IKhjii1R3Lrx2YMZ8OAn+QKd7PgWCuaAUPwwR8j2UDfpDHzMxyP/wPhJP0JL
119
+ oHMYbE+Ncw==
120
+ Content-Type:
121
+ - text/xml
122
+ Content-Length:
123
+ - '385'
124
+ Vary:
125
+ - User-Agent
126
+ body:
127
+ encoding: UTF-8
128
+ string: |
129
+ <?xml version="1.0"?>
130
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
131
+ <GetServiceStatusResult>
132
+ <Status>GREEN</Status>
133
+ <Timestamp>2014-04-12T18:14:17.027Z</Timestamp>
134
+ </GetServiceStatusResult>
135
+ <ResponseMetadata>
136
+ <RequestId>b3e323ff-0fc2-4afc-ba41-f813bcc0cffd</RequestId>
137
+ </ResponseMetadata>
138
+ </GetServiceStatusResponse>
139
+ http_version:
140
+ recorded_at: Sat, 12 Apr 2014 18:14:17 GMT
141
+ - request:
142
+ method: post
143
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAI6X4QZRXSHGHABJA&Action=GetServiceStatus&SellerId=A2NEU7G6RGUKF&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A17Z&Signature=Hfin3A4S2Z1%2FHIPRzBn1dDJT11zjwWmPzb5EYsifkuY%3D
144
+ body:
145
+ encoding: US-ASCII
146
+ string: ''
147
+ headers:
148
+ User-Agent:
149
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
150
+ response:
151
+ status:
152
+ code: 200
153
+ message:
154
+ headers:
155
+ Date:
156
+ - Sat, 12 Apr 2014 18:14:17 GMT
157
+ Server:
158
+ - AmazonMWS
159
+ x-mws-request-id:
160
+ - fb177b78-6d6b-4e33-8fd4-794ead34d3ec
161
+ x-mws-timestamp:
162
+ - '2014-04-12T18:14:17.272Z'
163
+ x-mws-response-context:
164
+ - NB6RgzU8zBT1YtnN8NNDwKxJKGbup1rVwTc4AlDwRPc5wNQm/JFOLH4X8D8MQ6RbEnJIv3NIQJdf
165
+ 55d3mL3O4A==
166
+ Content-Type:
167
+ - text/xml
168
+ Content-Length:
169
+ - '385'
170
+ Vary:
171
+ - User-Agent
172
+ body:
173
+ encoding: UTF-8
174
+ string: |
175
+ <?xml version="1.0"?>
176
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
177
+ <GetServiceStatusResult>
178
+ <Status>GREEN</Status>
179
+ <Timestamp>2014-04-12T18:14:17.272Z</Timestamp>
180
+ </GetServiceStatusResult>
181
+ <ResponseMetadata>
182
+ <RequestId>fb177b78-6d6b-4e33-8fd4-794ead34d3ec</RequestId>
183
+ </ResponseMetadata>
184
+ </GetServiceStatusResponse>
185
+ http_version:
186
+ recorded_at: Sat, 12 Apr 2014 18:14:17 GMT
187
+ - request:
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
190
+ body:
191
+ encoding: US-ASCII
192
+ string: ''
193
+ headers:
194
+ User-Agent:
195
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
196
+ response:
197
+ status:
198
+ code: 200
199
+ message:
200
+ headers:
201
+ Date:
202
+ - Sat, 12 Apr 2014 18:14:17 GMT
203
+ Server:
204
+ - AmazonMWS
205
+ x-mws-request-id:
206
+ - 4ad7573d-a9f5-4ae2-8b5e-cdd6d1f0d7cf
207
+ x-mws-timestamp:
208
+ - '2014-04-12T18:14:17.487Z'
209
+ x-mws-response-context:
210
+ - 3qvWG498RatGlcXEiTcBnUrhT0o1KdOXif41cI0wM+I2CEoySBvsfxT+19N6OdtraFJoM6aB8Vun
211
+ VOWQ8qy+pw==
212
+ Content-Type:
213
+ - text/xml
214
+ Content-Length:
215
+ - '385'
216
+ Vary:
217
+ - User-Agent
218
+ body:
219
+ encoding: UTF-8
220
+ string: |
221
+ <?xml version="1.0"?>
222
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
223
+ <GetServiceStatusResult>
224
+ <Status>GREEN</Status>
225
+ <Timestamp>2014-04-12T18:14:17.487Z</Timestamp>
226
+ </GetServiceStatusResult>
227
+ <ResponseMetadata>
228
+ <RequestId>4ad7573d-a9f5-4ae2-8b5e-cdd6d1f0d7cf</RequestId>
229
+ </ResponseMetadata>
230
+ </GetServiceStatusResponse>
231
+ http_version:
232
+ recorded_at: Sat, 12 Apr 2014 18:14:17 GMT
233
+ - request:
234
+ method: post
235
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAJJDQ2MJTMPXKJE4A&Action=GetServiceStatus&SellerId=A2D9DZ30GEWP6N&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A17Z&Signature=GH9aHGss%2FFDM9OyTHRx9pajwmMvHTlxibRWr2Lq9S%2F8%3D
236
+ body:
237
+ encoding: US-ASCII
238
+ string: ''
239
+ headers:
240
+ User-Agent:
241
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
242
+ response:
243
+ status:
244
+ code: 200
245
+ message:
246
+ headers:
247
+ Date:
248
+ - Sat, 12 Apr 2014 18:14:16 GMT
249
+ Server:
250
+ - AmazonMWS
251
+ x-mws-request-id:
252
+ - 0a9d2ae2-3bc4-4f1c-ba19-84ac2a02dc7e
253
+ x-mws-timestamp:
254
+ - '2014-04-12T18:14:17.709Z'
255
+ x-mws-response-context:
256
+ - hgmYenm0EVuFulCUY2Hvt8tVjOVL3Td32bDEN+73VRisuFHAgXCgfpKl9mXUnG29+nweKvxtqhIk
257
+ nDqWQVmhkA==
258
+ Content-Type:
259
+ - text/xml
260
+ Content-Length:
261
+ - '385'
262
+ Vary:
263
+ - User-Agent
264
+ body:
265
+ encoding: UTF-8
266
+ string: |
267
+ <?xml version="1.0"?>
268
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
269
+ <GetServiceStatusResult>
270
+ <Status>GREEN</Status>
271
+ <Timestamp>2014-04-12T18:14:17.709Z</Timestamp>
272
+ </GetServiceStatusResult>
273
+ <ResponseMetadata>
274
+ <RequestId>0a9d2ae2-3bc4-4f1c-ba19-84ac2a02dc7e</RequestId>
275
+ </ResponseMetadata>
276
+ </GetServiceStatusResponse>
277
+ http_version:
278
+ recorded_at: Sat, 12 Apr 2014 18:14:17 GMT
279
+ - request:
280
+ method: post
281
+ uri: https://mws.amazonservices.jp/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAJ5RDDSRROM6GXQ5Q&Action=GetServiceStatus&SellerId=A7BU5WGNVGQ1I&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A17Z&Signature=7RkJLUGAb0Niu%2FXQpXboHi5Ea6yYhPhb016toM9AHbg%3D
282
+ body:
283
+ encoding: US-ASCII
284
+ string: ''
285
+ headers:
286
+ User-Agent:
287
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
288
+ response:
289
+ status:
290
+ code: 200
291
+ message:
292
+ headers:
293
+ Date:
294
+ - Sat, 12 Apr 2014 18:14:18 GMT
295
+ Server:
296
+ - AmazonMWS
297
+ x-mws-request-id:
298
+ - b31fce6e-bcdd-4290-954e-342d167e729c
299
+ x-mws-timestamp:
300
+ - '2014-04-12T18:14:18.374Z'
301
+ x-mws-response-context:
302
+ - 2QhApRvQwqOaM5yhET4IAhuZ8d49Gn+0vSd+zxpyb42w0+qGy0ecdOVetBNIdmC6zomwJyszZLiy
303
+ mGA8VPBkGA==
304
+ Content-Type:
305
+ - text/xml
306
+ Content-Length:
307
+ - '385'
308
+ Vary:
309
+ - User-Agent
310
+ body:
311
+ encoding: UTF-8
312
+ string: |
313
+ <?xml version="1.0"?>
314
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
315
+ <GetServiceStatusResult>
316
+ <Status>GREEN</Status>
317
+ <Timestamp>2014-04-12T18:14:18.374Z</Timestamp>
318
+ </GetServiceStatusResult>
319
+ <ResponseMetadata>
320
+ <RequestId>b31fce6e-bcdd-4290-954e-342d167e729c</RequestId>
321
+ </ResponseMetadata>
322
+ </GetServiceStatusResponse>
323
+ http_version:
324
+ recorded_at: Sat, 12 Apr 2014 18:14:18 GMT
325
+ - request:
326
+ method: post
327
+ uri: https://mws-eu.amazonservices.com/CustomerInformation/2014-03-01?AWSAccessKeyId=AKIAIORT7554FEBW7UBQ&Action=GetServiceStatus&SellerId=A7ZXDJZD3UIRG&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-12T18%3A14%3A18Z&Signature=UuQIyJ7bQICAHnxPMK8Du1X2UJhDkFjwcM9Cqje9cQc%3D
328
+ body:
329
+ encoding: US-ASCII
330
+ string: ''
331
+ headers:
332
+ User-Agent:
333
+ - Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
334
+ response:
335
+ status:
336
+ code: 200
337
+ message:
338
+ headers:
339
+ Date:
340
+ - Sat, 12 Apr 2014 18:14:17 GMT
341
+ Server:
342
+ - AmazonMWS
343
+ x-mws-request-id:
344
+ - 2e3f0f48-d8d3-4a1a-9805-88b0fb913af2
345
+ x-mws-timestamp:
346
+ - '2014-04-12T18:14:18.607Z'
347
+ x-mws-response-context:
348
+ - sert08iDFZ4y8srsy8dKRXvG0/1CwKxBgaIG9qSuQre0bDqNTy8Qi+XOQMNpXen3fF5TqJJ8FEkf
349
+ qOUQAM1tjQ==
350
+ Content-Type:
351
+ - text/xml
352
+ Content-Length:
353
+ - '385'
354
+ Vary:
355
+ - User-Agent
356
+ body:
357
+ encoding: UTF-8
358
+ string: |
359
+ <?xml version="1.0"?>
360
+ <GetServiceStatusResponse xmlns="https://mws.amazonservices.com/schema/Customers/2014-03-01">
361
+ <GetServiceStatusResult>
362
+ <Status>GREEN</Status>
363
+ <Timestamp>2014-04-12T18:14:18.607Z</Timestamp>
364
+ </GetServiceStatusResult>
365
+ <ResponseMetadata>
366
+ <RequestId>2e3f0f48-d8d3-4a1a-9805-88b0fb913af2</RequestId>
367
+ </ResponseMetadata>
368
+ </GetServiceStatusResponse>
369
+ http_version:
370
+ recorded_at: Sat, 12 Apr 2014 18:14:18 GMT
371
+ recorded_with: VCR 2.9.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-10 00:00:00.000000000 Z
11
+ date: 2014-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeff
@@ -167,6 +167,8 @@ files:
167
167
  - lib/peddler/version.rb
168
168
  - lib/peddler/xml_parser.rb
169
169
  - test/helper.rb
170
+ - test/integration/test_cart_information.rb
171
+ - test/integration/test_customer_information.rb
170
172
  - test/integration/test_feeds.rb
171
173
  - test/integration/test_off_amazon_payments.rb
172
174
  - test/integration/test_orders.rb
@@ -184,6 +186,8 @@ files:
184
186
  - test/unit/peddler/test_structured_list.rb
185
187
  - test/unit/peddler/test_xml_parser.rb
186
188
  - test/unit/test_peddler.rb
189
+ - test/vcr_cassettes/CartInformation.yml
190
+ - test/vcr_cassettes/CustomerInformation.yml
187
191
  - test/vcr_cassettes/Feeds.yml
188
192
  - test/vcr_cassettes/OffAmazonPayments.yml
189
193
  - test/vcr_cassettes/Orders.yml
@@ -217,6 +221,8 @@ specification_version: 4
217
221
  summary: Wraps the Amazon MWS APIs
218
222
  test_files:
219
223
  - test/helper.rb
224
+ - test/integration/test_cart_information.rb
225
+ - test/integration/test_customer_information.rb
220
226
  - test/integration/test_feeds.rb
221
227
  - test/integration/test_off_amazon_payments.rb
222
228
  - test/integration/test_orders.rb
@@ -234,6 +240,8 @@ test_files:
234
240
  - test/unit/peddler/test_structured_list.rb
235
241
  - test/unit/peddler/test_xml_parser.rb
236
242
  - test/unit/test_peddler.rb
243
+ - test/vcr_cassettes/CartInformation.yml
244
+ - test/vcr_cassettes/CustomerInformation.yml
237
245
  - test/vcr_cassettes/Feeds.yml
238
246
  - test/vcr_cassettes/OffAmazonPayments.yml
239
247
  - test/vcr_cassettes/Orders.yml