lib/mws/orders/order_items.rb in mws-orders-0.4.0 vs lib/mws/orders/order_items.rb in mws-orders-0.5.0
- old
+ new
@@ -4,9 +4,10 @@
require 'mws/orders/order_item'
require 'mws/orders/tokenable'
module MWS
module Orders
+ # https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/Orders_ListOrderItems.html
class OrderItems < Collection
include Tokenable
def each
xpath('OrderItems/OrderItem').each { |node| yield OrderItem.new(node) }