module Epages::REST::Sales
implements the calls in developer.epages.com/apps/api-reference/resource-sales.html
Public Instance Methods
sales(options = {})
click to toggle source
call the API
and return an object of SalesSummary
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-sales.html
@param options [Hash]
# File lib/epages/rest/sales.rb, line 13 def sales(options = {}) options[:product_id] = epages_id(options[:product_id]) if options[:product_id] perform_get_with_object('/sales', format_dates_options(options), Epages::SalesSummary) end