Sha256: 0b41582be0797cac42d02bef3b4db3e15815864d05c897185a1c09e1944a0a35
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 Bytes
Contents
require 'peddler/request' require 'mws/orders/parsers/order_items' module MWS module Orders module Requests class OrderItems < ::Peddler::Request def list(amazon_order_id) parameters(:list_order_items) .update(amazon_order_id: amazon_order_id) .camelize_keys! execute end def list_by_next_token(token = next_token) return unless token parameters(:list_order_items_by_next_token) .update(next_token: token) .camelize_keys! execute end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
peddler-0.6.5 | lib/mws/orders/requests/order_items.rb |
peddler-0.6.4 | lib/mws/orders/requests/order_items.rb |