peddler 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d3d2f97e4921804281141fbef03ae8dbc4f8211
4
- data.tar.gz: 273371a4e4156f588578468a2f363e0e3311dd24
3
+ metadata.gz: d2fda364caab5a2dd886b3dc27ee533ef1ebe88c
4
+ data.tar.gz: 4c10ecc9abeaf5b2fb2f0883743addb18a80aa18
5
5
  SHA512:
6
- metadata.gz: 9f297c76d67a21b08eb4e0977c2a14e9592adae4f65521e00d9d892deb6da11fca5d881fc4ab8855eca0442843a7bbf137850339e1fe3d83ce1f4252a3749533
7
- data.tar.gz: cbe9393121495054938b834bc9e83c1fbed9992b70e471ecdfcd67dd47c3a2d10e8653fcd40116bf975c26677086f542f41fe658a421de48d7e2468d014140d4
6
+ metadata.gz: 4de0c5df57c677c512227423b6fb5853074d142b596419443738e6efb0e2510b3d299a7e583660c3400710f58363057e04fa3329091a61466a73d9d5d4611cf5
7
+ data.tar.gz: fa7753961a74ba664c2101993c7de4836e92b2003081fe1da931e4f076dad0a6c9c78120b9ed232b36c7b3f903df847ccaa1a9d49db9751860da95e08ed96a69
@@ -47,7 +47,7 @@ module MWS
47
47
  # @param displayable_order_comment [String]
48
48
  # @param shipping_speed_category [String]
49
49
  # @param destination_address [Struct, Hash]
50
- # @params items [Array<Struct, Hash>]
50
+ # @param items [Array<Struct, Hash>]
51
51
  # @param opts [Hash]
52
52
  # @option opts [String] :fulfillment_action
53
53
  # @option opts [String] :fulfillment_policy
@@ -117,8 +117,7 @@ module MWS
117
117
  # Returns a list of fulfillment orders fulfilled on or after a date
118
118
  #
119
119
  # @see http://docs.developer.amazonservices.com/en_US/fba_outbound/FBAOutbound_ListAllFulfillmentOrders.html
120
- # @param opts [Hash]
121
- # @option opts [String, #iso8601] :query_start_date_time
120
+ # @param query_start_date_time [String, #iso8601]
122
121
  # @return [Peddler::XMLParser]
123
122
  def list_all_fulfillment_orders(query_start_date_time = nil)
124
123
  opts = query_start_date_time ? { 'QueryStartDateTime' => query_start_date_time } : {}
@@ -16,7 +16,7 @@ module MWS
16
16
  # @see http://docs.developer.amazonservices.com/en_US/recommendations/Recommendations_GetLastUpdatedTimeForRecommendations.html
17
17
  # @param marketplace_id [String]
18
18
  # @return [Peddler::XMLParser]
19
- def get_last_updated_time_for_recommendations(marketplace_id = marketplace_id)
19
+ def get_last_updated_time_for_recommendations(marketplace_id = marketplace_id())
20
20
  operation('GetLastUpdatedTimeForRecommendations')
21
21
  .add('MarketplaceId' => marketplace_id)
22
22
 
@@ -17,7 +17,7 @@ module MWS
17
17
  # @param sqs_queue_url [String]
18
18
  # @param marketplace_id [String]
19
19
  # @return [Peddler::XMLParser]
20
- def register_destination(sqs_queue_url, marketplace_id = marketplace_id)
20
+ def register_destination(sqs_queue_url, marketplace_id = marketplace_id())
21
21
  operation('RegisterDestination')
22
22
  .add('MarketplaceId' => marketplace_id)
23
23
  .add(build_destination(sqs_queue_url))
@@ -31,7 +31,7 @@ module MWS
31
31
  # @param sqs_queue_url [String]
32
32
  # @param marketplace_id [String]
33
33
  # @return [Peddler::XMLParser]
34
- def deregister_destination(sqs_queue_url, marketplace_id = marketplace_id)
34
+ def deregister_destination(sqs_queue_url, marketplace_id = marketplace_id())
35
35
  operation('DeregisterDestination')
36
36
  .add('MarketplaceId' => marketplace_id)
37
37
  .add(build_destination(sqs_queue_url))
@@ -44,7 +44,7 @@ module MWS
44
44
  # @see http://docs.developer.amazonservices.com/en_US/subscriptions/Subscriptions_ListRegisteredDestinations.html
45
45
  # @param marketplace_id [String]
46
46
  # @return [Peddler::XMLParser]
47
- def list_registered_destinations(marketplace_id = marketplace_id)
47
+ def list_registered_destinations(marketplace_id = marketplace_id())
48
48
  operation('ListRegisteredDestinations')
49
49
  .add('MarketplaceId' => marketplace_id)
50
50
 
@@ -57,7 +57,7 @@ module MWS
57
57
  # @param sqs_queue_url [String]
58
58
  # @param marketplace_id [String]
59
59
  # @return [Peddler::XMLParser]
60
- def send_test_notification_to_destination(sqs_queue_url, marketplace_id = marketplace_id)
60
+ def send_test_notification_to_destination(sqs_queue_url, marketplace_id = marketplace_id())
61
61
  operation('SendTestNotificationToDestination')
62
62
  .add('MarketplaceId' => marketplace_id)
63
63
  .add(build_destination(sqs_queue_url))
@@ -72,7 +72,7 @@ module MWS
72
72
  # @param sqs_queue_url [String]
73
73
  # @param marketplace_id [String]
74
74
  # @return [Peddler::XMLParser]
75
- def create_subscription(notification_type, sqs_queue_url, marketplace_id = marketplace_id)
75
+ def create_subscription(notification_type, sqs_queue_url, marketplace_id = marketplace_id())
76
76
  operation('CreateSubscription')
77
77
  .add('MarketplaceId' => marketplace_id)
78
78
  .add(build_subscription(notification_type, sqs_queue_url))
@@ -87,7 +87,7 @@ module MWS
87
87
  # @param sqs_queue_url [String]
88
88
  # @param marketplace_id [String]
89
89
  # @return [Peddler::XMLParser]
90
- def get_subscription(notification_type, sqs_queue_url, marketplace_id = marketplace_id)
90
+ def get_subscription(notification_type, sqs_queue_url, marketplace_id = marketplace_id())
91
91
  operation('GetSubscription')
92
92
  .add(
93
93
  'MarketplaceId' => marketplace_id,
@@ -105,7 +105,7 @@ module MWS
105
105
  # @param sqs_queue_url [String]
106
106
  # @param marketplace_id [String]
107
107
  # @return [Peddler::XMLParser]
108
- def delete_subscription(notification_type, sqs_queue_url, marketplace_id = marketplace_id)
108
+ def delete_subscription(notification_type, sqs_queue_url, marketplace_id = marketplace_id())
109
109
  operation('DeleteSubscription')
110
110
  .add(
111
111
  'MarketplaceId' => marketplace_id,
@@ -121,7 +121,7 @@ module MWS
121
121
  # @see http://docs.developer.amazonservices.com/en_US/subscriptions/Subscriptions_ListSubscriptions.html
122
122
  # @param marketplace_id [String]
123
123
  # @return [Peddler::XMLParser]
124
- def list_subscriptions(marketplace_id = marketplace_id)
124
+ def list_subscriptions(marketplace_id = marketplace_id())
125
125
  operation('ListSubscriptions')
126
126
  .add('MarketplaceId' => marketplace_id)
127
127
 
@@ -136,7 +136,7 @@ module MWS
136
136
  # @param enabled [Boolean]
137
137
  # @param marketplace_id [String]
138
138
  # @return [Peddler::XMLParser]
139
- def update_subscription(notification_type, sqs_queue_url, enabled, marketplace_id = marketplace_id)
139
+ def update_subscription(notification_type, sqs_queue_url, enabled, marketplace_id = marketplace_id())
140
140
  operation('CreateSubscription')
141
141
  .add('MarketplaceId' => marketplace_id)
142
142
  .add(build_subscription(notification_type, sqs_queue_url, enabled))
@@ -1,3 +1,3 @@
1
1
  module Peddler
2
- VERSION = '0.11.0'
2
+ VERSION = '0.11.1'
3
3
  end
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.11.0
4
+ version: 0.11.1
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-11-06 00:00:00.000000000 Z
11
+ date: 2015-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeff
@@ -101,8 +101,6 @@ files:
101
101
  - test/integration/test_webstore.rb
102
102
  - test/integration_test_helper.rb
103
103
  - test/mws.yml
104
- - test/mws.yml.bak
105
- - test/mws.yml.mop
106
104
  - test/test_helper.rb
107
105
  - test/unit/mws/test_off_amazon_payments_client.rb
108
106
  - test/unit/mws/test_products_client.rb
@@ -148,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
146
  version: '0'
149
147
  requirements: []
150
148
  rubyforge_project:
151
- rubygems_version: 2.2.2
149
+ rubygems_version: 2.4.5
152
150
  signing_key:
153
151
  specification_version: 4
154
152
  summary: Wraps the Amazon MWS APIs
@@ -169,8 +167,6 @@ test_files:
169
167
  - test/integration/test_webstore.rb
170
168
  - test/integration_test_helper.rb
171
169
  - test/mws.yml
172
- - test/mws.yml.bak
173
- - test/mws.yml.mop
174
170
  - test/test_helper.rb
175
171
  - test/unit/mws/test_off_amazon_payments_client.rb
176
172
  - test/unit/mws/test_products_client.rb
data/test/mws.yml.bak DELETED
@@ -1,16 +0,0 @@
1
- - marketplace_id: A2EUQ1WTGCTBG2
2
- aws_access_key_id: AKIAITHQMZUJROSOP27Q
3
- aws_secret_access_key: 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
4
- merchant_id: A2A7WNXBU01UJW
5
- - marketplace_id: A1PA6795UKMFR9
6
- aws_access_key_id: AKIAIORT7554FEBW7UBQ
7
- aws_secret_access_key: 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
8
- merchant_id: A7ZXDJZD3UIRG
9
- - marketplace_id: A1VC38T7YXB528
10
- aws_access_key_id: AKIAJ5RDDSRROM6GXQ5Q
11
- aws_secret_access_key: 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
12
- merchant_id: A7BU5WGNVGQ1I
13
- - marketplace_id: ATVPDKIKX0DER
14
- aws_access_key_id: AKIAJ767ZET2BZR4UDDQ
15
- aws_secret_access_key: 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
16
- merchant_id: A2H6NH4SQYFZ4M
data/test/mws.yml.mop DELETED
@@ -1,4 +0,0 @@
1
- - marketplace_id: A1F83G8C2ARO7P
2
- merchant_id: A3IY67M3U23R42
3
- aws_access_key_id: AKIAIJQQ3UPICUQXTFFQ
4
- aws_secret_access_key: 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