lib/mws/customer_information/client.rb in peddler-1.2.0 vs lib/mws/customer_information/client.rb in peddler-1.3.0
- old
+ new
@@ -16,17 +16,17 @@
# Webstore offers both checkout options, customer information is returned
# only for Seller-Branded Checkout accounts.
# @note In addition to registering for Amazon MWS, you must request
# authorization to use the Customer Information API.
class Client < ::Peddler::Client
- version "2014-03-01"
+ version '2014-03-01'
path "/CustomerInformation/#{version}"
# Lists customer accounts based on search criteria that you specify
#
# @see http://docs.developer.amazonservices.com/en_US/customer_info/CustomerInfo_ListCustomers.html
- # @param opts [Hash]
+ # @param [Hash] opts
# @option opts [String] :marketplace_id
# @option opts [String, #iso8601] :date_range_start
# @option opts [String, #iso8601] :date_range_end
# @option opts [String] :date_range_type
# @return [Peddler::XMLParser]
@@ -38,11 +38,11 @@
end
# Lists the next page of customer accounts
#
# @see http://docs.developer.amazonservices.com/en_US/customer_info/CustomerInfo_ListCustomersByNextToken.html
- # @param next_token [String]
+ # @param [String] next_token
# @return [Peddler::XMLParser]
def list_customers_by_next_token(next_token)
operation('ListCustomersByNextToken')
.add('NextToken' => next_token)
@@ -51,12 +51,12 @@
# Returns customer accounts based on the CustomerId values that you
# specify
#
# @see http://docs.developer.amazonservices.com/en_US/customer_info/CustomerInfo_GetCustomersForCustomerId.html
- # @overload get_customers_for_customer_id(*customer_id_list, opts = {})
- # @param customer_id_list [Array<String>]
- # @param opts [Hash]
+ # @overload get_customers_for_customer_id(*customer_ids, opts = {})
+ # @param [String] customer_id one or more customer_ids
+ # @param [Hash] opts
# @option opts [String] :marketplace_id
# @return [Peddler::XMLParser]
def get_customers_for_customer_id(*customer_id_list)
opts = extract_options(customer_id_list)
operation('GetCustomersForCustomerId')