Sha256: d1ad781997d4524b98e3e2f04574395c62d67d115d790bab45522f2ea64dd99e
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require 'mws/orders/collection' require 'mws/orders/order' require 'mws/orders/tokenable' module MWS module Orders # https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/Orders_ListOrders.html class Orders < Collection include Tokenable def each xpath('Orders/Order').each { |node| yield Order.new(node) } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.6.1 | lib/mws/orders/orders.rb |
mws-orders-0.5.1 | lib/mws/orders/orders.rb |