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 +4 -4
- data/lib/peddler/client.rb +6 -2
- data/lib/peddler/version.rb +1 -1
- data/test/integration/test_recommendations.rb +5 -2
- data/test/integration_helper.rb +2 -2
- data/test/{mws.yml → mws.yml.1} +0 -0
- data/test/mws.yml.mop +4 -0
- data/test/unit/peddler/test_client.rb +3 -2
- data/test/vcr_cassettes/CartInformation.yml +141 -5
- data/test/vcr_cassettes/CustomerInformation.yml +142 -5
- data/test/vcr_cassettes/Feeds.yml +276 -184
- data/test/vcr_cassettes/FulfillmentInboundShipment.yml +143 -5
- data/test/vcr_cassettes/FulfillmentInventory.yml +619 -897
- data/test/vcr_cassettes/FulfillmentOutboundShipment.yml +141 -5
- data/test/vcr_cassettes/OffAmazonPayments.yml +141 -5
- data/test/vcr_cassettes/Orders.yml +28425 -28645
- data/test/vcr_cassettes/Products.yml +2952 -7594
- data/test/vcr_cassettes/Recommendations.yml +13319 -6599
- data/test/vcr_cassettes/Reports.yml +528 -6864
- data/test/vcr_cassettes/Sellers.yml +267 -7
- data/test/vcr_cassettes/Subscriptions.yml +253 -486
- metadata +7 -5
@@ -230,7 +230,7 @@ http_interactions:
|
|
230
230
|
recorded_at: Sun, 13 Apr 2014 21:05:54 GMT
|
231
231
|
- request:
|
232
232
|
method: post
|
233
|
-
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=
|
233
|
+
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-13T21%3A05%3A54Z&Signature=XmZ5dEJOLHLZHI7imUkE57QKWfbXVYLG0qWS8cAtBXw%3D
|
234
234
|
body:
|
235
235
|
encoding: US-ASCII
|
236
236
|
string: ''
|
@@ -322,7 +322,7 @@ http_interactions:
|
|
322
322
|
recorded_at: Sun, 13 Apr 2014 21:05:54 GMT
|
323
323
|
- request:
|
324
324
|
method: post
|
325
|
-
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=
|
325
|
+
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-13T21%3A05%3A54Z&Signature=k%2FxixVj28htbQwGg3qY6UmYqy7kmf3YsqHvhSs7mnGA%3D
|
326
326
|
body:
|
327
327
|
encoding: US-ASCII
|
328
328
|
string: ''
|
@@ -460,7 +460,7 @@ http_interactions:
|
|
460
460
|
recorded_at: Sun, 27 Apr 2014 15:56:13 GMT
|
461
461
|
- request:
|
462
462
|
method: post
|
463
|
-
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=
|
463
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A13Z&Signature=avGigFpV8ha1qGNhvllmGM1bwSQVHBtwrz4E4ucDIMM%3D
|
464
464
|
body:
|
465
465
|
encoding: US-ASCII
|
466
466
|
string: ''
|
@@ -598,7 +598,7 @@ http_interactions:
|
|
598
598
|
recorded_at: Sun, 27 Apr 2014 15:56:14 GMT
|
599
599
|
- request:
|
600
600
|
method: post
|
601
|
-
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=
|
601
|
+
uri: https://mws-eu.amazonservices.com/?AWSAccessKeyId=123456&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-04-27T15%3A56%3A14Z&Signature=7vb%2BBCPesmfOHxtRL%2B%2BmaL3lMnR6xOwHkUUBGVONgBk%3D
|
602
602
|
body:
|
603
603
|
encoding: US-ASCII
|
604
604
|
string: ''
|
@@ -734,4 +734,142 @@ http_interactions:
|
|
734
734
|
</GetServiceStatusResponse>
|
735
735
|
http_version:
|
736
736
|
recorded_at: Sun, 27 Apr 2014 15:56:15 GMT
|
737
|
-
|
737
|
+
- request:
|
738
|
+
method: post
|
739
|
+
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=AKIAI4ZNSD76DH7UBRDA&Action=GetServiceStatus&SellerId=A2DP6GIDYN6OTH&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-06-25T13%3A58%3A12Z&Signature=Sf9N4tPZeqJ00ATZaq3MrSIlN9L6tZ9Gcnw8S7iMDbA%3D
|
740
|
+
body:
|
741
|
+
encoding: US-ASCII
|
742
|
+
string: ''
|
743
|
+
headers:
|
744
|
+
User-Agent:
|
745
|
+
- Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
|
746
|
+
response:
|
747
|
+
status:
|
748
|
+
code: 200
|
749
|
+
message:
|
750
|
+
headers:
|
751
|
+
Date:
|
752
|
+
- Wed, 25 Jun 2014 13:58:12 GMT
|
753
|
+
Server:
|
754
|
+
- AmazonMWS
|
755
|
+
x-mws-request-id:
|
756
|
+
- d5f9e389-ae01-4d27-aa0a-335d0ec8e061
|
757
|
+
x-mws-timestamp:
|
758
|
+
- '2014-06-25T13:58:12.171Z'
|
759
|
+
x-mws-response-context:
|
760
|
+
- 3AbEqbkJKL8oE9o4N3qmgtFbf3UWjB0S+eVwI7mr+eQrg7oa5KyhKet7xBKhSgmv9Blimzwt4scM
|
761
|
+
nswhxpURxA==
|
762
|
+
Content-Type:
|
763
|
+
- text/xml
|
764
|
+
Content-Length:
|
765
|
+
- '390'
|
766
|
+
Vary:
|
767
|
+
- User-Agent
|
768
|
+
body:
|
769
|
+
encoding: UTF-8
|
770
|
+
string: |
|
771
|
+
<?xml version="1.0"?>
|
772
|
+
<GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInboundShipment/2010-10-01/">
|
773
|
+
<GetServiceStatusResult>
|
774
|
+
<Status>GREEN</Status>
|
775
|
+
<Timestamp>2014-06-25T13:58:12.171Z</Timestamp>
|
776
|
+
</GetServiceStatusResult>
|
777
|
+
<ResponseMetadata>
|
778
|
+
<RequestId>d5f9e389-ae01-4d27-aa0a-335d0ec8e061</RequestId>
|
779
|
+
</ResponseMetadata>
|
780
|
+
</GetServiceStatusResponse>
|
781
|
+
http_version:
|
782
|
+
recorded_at: Wed, 25 Jun 2014 13:58:12 GMT
|
783
|
+
- request:
|
784
|
+
method: post
|
785
|
+
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=AKIAJLUHOXLR5S2L6A6A&Action=GetServiceStatus&SellerId=A2APQUVDBVWV7E&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-06-25T13%3A58%3A12Z&Signature=7%2FSgXr%2FTmCXoCMYtK9A5m%2Ffbd%2F2gk7i853YBTWrKqVE%3D
|
786
|
+
body:
|
787
|
+
encoding: US-ASCII
|
788
|
+
string: ''
|
789
|
+
headers:
|
790
|
+
User-Agent:
|
791
|
+
- Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
|
792
|
+
response:
|
793
|
+
status:
|
794
|
+
code: 200
|
795
|
+
message:
|
796
|
+
headers:
|
797
|
+
Date:
|
798
|
+
- Wed, 25 Jun 2014 13:58:11 GMT
|
799
|
+
Server:
|
800
|
+
- AmazonMWS
|
801
|
+
x-mws-request-id:
|
802
|
+
- 42a4edbf-a2da-4774-b157-4541e6271d88
|
803
|
+
x-mws-timestamp:
|
804
|
+
- '2014-06-25T13:58:12.356Z'
|
805
|
+
x-mws-response-context:
|
806
|
+
- EpExpUJc4diSU17UZN01r2Romqhf0JVc0pNFojudzK5XwTsupJYiVdGgQYZchTlVFp6lSoVvY7MR
|
807
|
+
EvD3BAWASw==
|
808
|
+
Content-Type:
|
809
|
+
- text/xml
|
810
|
+
Content-Length:
|
811
|
+
- '390'
|
812
|
+
Vary:
|
813
|
+
- User-Agent
|
814
|
+
body:
|
815
|
+
encoding: UTF-8
|
816
|
+
string: |
|
817
|
+
<?xml version="1.0"?>
|
818
|
+
<GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInboundShipment/2010-10-01/">
|
819
|
+
<GetServiceStatusResult>
|
820
|
+
<Status>GREEN</Status>
|
821
|
+
<Timestamp>2014-06-25T13:58:12.356Z</Timestamp>
|
822
|
+
</GetServiceStatusResult>
|
823
|
+
<ResponseMetadata>
|
824
|
+
<RequestId>42a4edbf-a2da-4774-b157-4541e6271d88</RequestId>
|
825
|
+
</ResponseMetadata>
|
826
|
+
</GetServiceStatusResponse>
|
827
|
+
http_version:
|
828
|
+
recorded_at: Wed, 25 Jun 2014 13:58:12 GMT
|
829
|
+
- request:
|
830
|
+
method: post
|
831
|
+
uri: https://mws-eu.amazonservices.com/FulfillmentInboundShipment/2010-10-01?AWSAccessKeyId=AKIAIJQQ3UPICUQXTFFQ&Action=GetServiceStatus&SellerId=A3IY67M3U23R42&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-07-11T15%3A43%3A31Z&Signature=gQOVce40N7G8a8SK4hZ2QoetkAF8H9j9rqbOkPfiGi8%3D
|
832
|
+
body:
|
833
|
+
encoding: US-ASCII
|
834
|
+
string: ''
|
835
|
+
headers:
|
836
|
+
User-Agent:
|
837
|
+
- Jeff/1.0.1 (Language=Ruby; Hakans-MacBook-Pro.local)
|
838
|
+
response:
|
839
|
+
status:
|
840
|
+
code: 200
|
841
|
+
message:
|
842
|
+
headers:
|
843
|
+
Date:
|
844
|
+
- Fri, 11 Jul 2014 15:43:30 GMT
|
845
|
+
Server:
|
846
|
+
- AmazonMWS
|
847
|
+
x-mws-request-id:
|
848
|
+
- 7ce58ec0-3ef8-44e7-b2b5-e1de5ce8847a
|
849
|
+
x-mws-timestamp:
|
850
|
+
- '2014-07-11T15:43:31.419Z'
|
851
|
+
x-mws-response-context:
|
852
|
+
- "/PErkfGfBHMS5lvVqvyCqdDGkwHsYt9BjRw0LAwP3r3ks60mmyqQpT+jogtX1wJ/x/vb6b4vlP+q
|
853
|
+
hkr/lVUuDw=="
|
854
|
+
Content-Type:
|
855
|
+
- text/xml
|
856
|
+
Content-Length:
|
857
|
+
- '390'
|
858
|
+
Vary:
|
859
|
+
- User-Agent
|
860
|
+
body:
|
861
|
+
encoding: UTF-8
|
862
|
+
string: |
|
863
|
+
<?xml version="1.0"?>
|
864
|
+
<GetServiceStatusResponse xmlns="http://mws.amazonaws.com/FulfillmentInboundShipment/2010-10-01/">
|
865
|
+
<GetServiceStatusResult>
|
866
|
+
<Status>GREEN</Status>
|
867
|
+
<Timestamp>2014-07-11T15:43:31.419Z</Timestamp>
|
868
|
+
</GetServiceStatusResult>
|
869
|
+
<ResponseMetadata>
|
870
|
+
<RequestId>7ce58ec0-3ef8-44e7-b2b5-e1de5ce8847a</RequestId>
|
871
|
+
</ResponseMetadata>
|
872
|
+
</GetServiceStatusResponse>
|
873
|
+
http_version:
|
874
|
+
recorded_at: Fri, 11 Jul 2014 15:43:31 GMT
|
875
|
+
recorded_with: VCR 2.9.2
|