Sha256: f91e405349d205016ecc5b980d4a282f9b872cc7e95cb9fe039f6d194390b65a
Contents?: true
Size: 783 Bytes
Versions: 2
Compression:
Stored size: 783 Bytes
Contents
module MWS module Orders module Request class Orders < Base def get(*amazon_order_ids) parameters(:get_order) .update(amazon_order_id: amazon_order_ids) .format_structured_lists! .camelize_keys! execute end def list(options) options[:marketplace_id] ||= client.home_marketplace_id parameters(:list_orders) .update(options) .timestamp! .format_structured_lists! .camelize_keys! execute end def list_by_next_token parameters(:list_orders_by_next_token) .update(next_token: next_token) .camelize_keys! execute end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.0.2 | lib/mws/orders/requests/orders.rb |
mws-orders-0.0.1 | lib/mws/orders/requests/orders.rb |