Sha256: 465f98bc42be81b6d5aec898191d73389366bfe20a7307be4b00173540ea8466
Contents?: true
Size: 435 Bytes
Versions: 3
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true require 'mws/orders/collection' 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) } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.6.1 | lib/mws/orders/order_items.rb |
mws-orders-0.5.1 | lib/mws/orders/order_items.rb |
mws-orders-0.5.0 | lib/mws/orders/order_items.rb |