lib/mws/orders/orders.rb in mws-orders-0.5.0 vs lib/mws/orders/orders.rb in mws-orders-0.5.1

- old
+ new

@@ -9,10 +9,10 @@ # https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/Orders_ListOrders.html class Orders < Collection include Tokenable def each - xpath('Orders/Order').map { |node| yield Order.new(node) } + xpath('Orders/Order').each { |node| yield Order.new(node) } end end end end