Class: OAI::ListIdentifiersResponse

Inherits:
Response
  • Object
show all
Includes:
Enumerable, XPath
Defined in:
lib/oai/client/list_identifiers.rb

Instance Attribute Summary

Attributes inherited from Response

#doc, #resumption_token

Instance Method Summary collapse

Methods included from XPath

#get_attribute, #xpath, #xpath_all, #xpath_first

Methods inherited from Response

#initialize

Constructor Details

This class inherits a constructor from OAI::Response

Instance Method Details

#eachObject



6
7
8
9
10
# File 'lib/oai/client/list_identifiers.rb', line 6

def each
  for header_element in xpath_all(@doc, './/ListIdentifiers/header')
    yield OAI::Header.new(header_element)
  end
end