lib/mws/webstore/client.rb in peddler-1.2.0 vs lib/mws/webstore/client.rb in peddler-1.3.0

- old
+ new

@@ -11,20 +11,20 @@ # notifications that were sent to your customers when out-of-stock items # came back in stock. This information, when combined with sales information # that your Webstore tracks, can help you determine how many notifications # were converted into sales. class Client < ::Peddler::Client - version "2014-09-01" + version '2014-09-01' path "/Webstore/#{version}/" # Lists subscription counts of subscriptions in a specified state, # including the items that are subscribed to # # @see http://docs.developer.amazonservices.com/en_US/webstore/Webstore_ListSubscriptionsCount.html # @overload list_subscriptions_count(subscription_state, opts = { marketplace_id: primary_marketplace_id }) - # @param subscription_state [String] - # @param opts [Hash] + # @param [String] subscription_state + # @param [Hash] opts # @option opts [String] :marketplace_id # @option opts [String, #iso8601] :date_range_start # @option opts [String, #iso8601] :date_range_end # @option opts [Array<String>] :seller_sku_list # @return [Peddler::XMLParser] @@ -41,11 +41,11 @@ end # Lists the next page of subscription counts # # @see http://docs.developer.amazonservices.com/en_US/webstore/Webstore_ListSubscriptionsCountByNextToken.html - # @param next_token [String] + # @param [String] next_token # @return [Peddler::XMLParser] def list_subscriptions_count_by_next_token(next_token) operation('ListSubscriptionsCountByNextToken') .add('NextToken' => next_token) @@ -55,13 +55,13 @@ # Gets the number of subscriptions that were created or notifications that # were sent for an item within a date range # # @see http://docs.developer.amazonservices.com/en_US/webstore/Webstore_ListSubscriptionsCount.html # @overload get_subscription_details(seller_sku, subscription_state, date_range_start, opts = { marketplace_id: marketplace_id }) - # @param seller_sku [String] - # @param subscription_state [String] - # @param date_range_start [String, #iso8601] - # @param opts [Hash] + # @param [String] seller_sku + # @param [String] subscription_state + # @param [String, #iso8601] date_range_start + # @param [Hash] opts # @option opts [String] :marketplace_id # @option opts [String, #iso8601] :date_range_end # @return [Peddler::XMLParser] def get_subscription_details(seller_sku, subscription_state, date_range_start, opts = {}) opts[:marketplace_id] ||= primary_marketplace_id