Class: MWS::Feeds::ResultList

Inherits:
Collection show all
Defined in:
lib/mws/feeds/result_list.rb

Instance Attribute Summary

Attributes inherited from Document

#namespace, #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::Feeds::Document

Instance Method Details

#eachObject



9
10
11
# File 'lib/mws/feeds/result_list.rb', line 9

def each
  xpath('Result').each { |node| yield Result.new(node, namespace: namespace) }
end