Class: MWS::MerchantFulfillment::ShippingServices

Inherits:
Collection show all
Defined in:
lib/mws/merchant_fulfillment/shipping_services.rb

Instance Attribute Summary

Attributes inherited from Document

#node

Instance Method Summary collapse

Methods inherited from Collection

#empty?, #inspect

Methods inherited from Document

#initialize, #xpath

Constructor Details

This class inherits a constructor from MWS::MerchantFulfillment::Document

Instance Method Details

#eachObject



9
10
11
12
13
# File 'lib/mws/merchant_fulfillment/shipping_services.rb', line 9

def each
  xpath('ShippingServiceList/ShippingService').each { |node|
    yield ShippingService.new(node)
  }
end