Sha256: 877242302905b125ef8450452eddcb9dd19432f1d71cfdc40054da79d3d426d2

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

module MWS
  module Orders
    module Request
      class OrderItems < Base
        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
          parameters(:list_order_items_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/order_items.rb
mws-orders-0.0.1 lib/mws/orders/requests/order_items.rb