Sha256: f245752cc948f10b901550257f7ce85ddaba209082e10ee7988b46e3602f7573
Contents?: true
Size: 314 Bytes
Versions: 3
Compression:
Stored size: 314 Bytes
Contents
# frozen_string_literal: true require 'mws/orders/collection' require 'mws/orders/order' require 'mws/orders/tokenable' module MWS module Orders class Orders < Collection include Tokenable def each xpath('Orders/Order').map { |node| yield Order.new(node) } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.4.0 | lib/mws/orders/orders.rb |
mws-orders-0.3.1 | lib/mws/orders/orders.rb |
mws-orders-0.3.0 | lib/mws/orders/orders.rb |