Sha256: 9c0dd20e5799a9303a1d88b8bc09858d5da793803fb34f756afd84ab76aa46a7
Contents?: true
Size: 311 Bytes
Versions: 4
Compression:
Stored size: 311 Bytes
Contents
require "mws/orders/collection" require "mws/orders/order_item" require "mws/orders/tokenable" module MWS module Orders class OrderItems < Collection include Tokenable def each(&blk) xpath("OrderItems/OrderItem").each { |node| yield OrderItem.new(node) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems