lib/mws/finances/client.rb in peddler-1.2.0 vs lib/mws/finances/client.rb in peddler-1.3.0
- old
+ new
@@ -3,17 +3,17 @@
module MWS
module Finances
# With the MWS Finances API you can retrieve financial transactions for your
# seller account.
class Client < ::Peddler::Client
- version "2015-05-01"
+ version '2015-05-01'
path "/Finances/#{version}"
# Lists financial events
#
# @see http://docs.developer.amazonservices.com/en_US/finances/Finances_ListFinancialEvents.html
- # @param opts [Hash]
+ # @param [Hash] opts
# @option opts [Integer] :max_results_per_page
# @option opts [String] :amazon_order_id
# @option opts [String] :financial_event_group_id
# @option opts [String, #iso8601] :posted_after
# @option opts [String, #iso8601] :posted_before
@@ -24,11 +24,11 @@
end
# Lists the next page of financial events
#
# @see http://docs.developer.amazonservices.com/en_US/finances/Finances_ListFinancialEventGroupsByNextToken.html
- # @param next_token [String]
+ # @param [String] next_token
# @return [Peddler::XMLParser]
def list_financial_events_by_next_token(next_token)
operation('ListFinancialEventsByNextToken')
.add('NextToken' => next_token)
@@ -36,12 +36,12 @@
end
# Lists financial event groups
#
# @see http://docs.developer.amazonservices.com/en_US/finances/Finances_ListFinancialEventGroups.html
- # @param financial_event_group_started_after [String, #iso8601]
- # @param opts [Hash]
+ # @param [String, #iso8601] financial_event_group_started_after
+ # @param [Hash] opts
# @option opts [Integer] :max_results_per_page
# @option opts [String, #iso8601] :financial_event_group_started_before
# @return [Peddler::XMLParser]
def list_financial_event_groups(financial_event_group_started_after, opts = {})
operation('ListFinancialEventGroups')
@@ -52,10 +52,10 @@
end
# Lists the next page of financial event groups
#
# @see http://docs.developer.amazonservices.com/en_US/finances/Finances_ListFinancialEventGroupsByNextToken.html
- # @param next_token [String]
+ # @param [String] next_token
# @return [Peddler::XMLParser]
def list_financial_event_groups_by_next_token(next_token)
operation('ListFinancialEventGroupsByNextToken')
.add('NextToken' => next_token)