lib/mws/orders/orders.rb in mws-orders-0.4.0 vs lib/mws/orders/orders.rb in mws-orders-0.5.0
- old
+ new
@@ -4,9 +4,10 @@
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').map { |node| yield Order.new(node) }