Class: MWS::Orders::Parsers::OrderItems

Inherits:
Peddler::Parsers::Collection show all
Defined in:
lib/mws/orders/parsers/order_items.rb

Instance Attribute Summary

Attributes inherited from Peddler::Parsers::Base

#document

Instance Method Summary collapse

Methods inherited from Peddler::Parsers::Collection

#empty?, #inspect

Methods inherited from Peddler::Parsers::XML

#at_xpath, handle?, #xpath

Methods inherited from Peddler::Parsers::Base

handle?, #initialize

Constructor Details

This class inherits a constructor from Peddler::Parsers::Base

Instance Method Details

#each(&blk) ⇒ Object



8
9
10
# File 'lib/mws/orders/parsers/order_items.rb', line 8

def each(&blk)
  order_item_nodes.each { |node| yield OrderItem.new(node) }
end