Sha256: d03e4dc8de77d31d74a9c0ac1a4dd9cb11a29c086a8f8e51922707d6b12d638f
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true require 'mws/orders/collection' require 'mws/orders/order' require 'mws/orders/tokenable' module MWS module Orders # 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) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.5.0 | lib/mws/orders/orders.rb |