Class: OAI::ListMetadataFormatsResponse
- Includes:
- Enumerable, XPath
- Defined in:
- lib/oai/client/list_metadata_formats.rb
Instance Attribute Summary
Attributes inherited from Response
#doc, #resumption_block, #resumption_token
Instance Method Summary collapse
Methods included from XPath
#get_attribute, #xpath, #xpath_all, #xpath_first
Methods inherited from Response
Constructor Details
This class inherits a constructor from OAI::Response
Instance Method Details
#each ⇒ Object
6 7 8 9 10 |
# File 'lib/oai/client/list_metadata_formats.rb', line 6 def each for format in xpath_all(@doc, './/metadataFormat') yield MetadataFormat.new(format) end end |