lib/mws/orders/order_items.rb in mws-orders-0.2.1 vs lib/mws/orders/order_items.rb in mws-orders-0.2.2
- old
+ new
@@ -1,15 +1,15 @@
-require "mws/orders/collection"
-require "mws/orders/order_item"
-require "mws/orders/tokenable"
+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) }
+ def each
+ xpath('OrderItems/OrderItem').each { |node| yield OrderItem.new(node) }
end
end
end
end