Module: Exlibris::Primo::WebService::Response::Records

Included in:
GetEshelf, Search
Defined in:
lib/exlibris/primo/web_service/response/records.rb

Instance Method Summary collapse

Instance Method Details

#recordsObject



6
7
8
9
# File 'lib/exlibris/primo/web_service/response/records.rb', line 6

def records
  @records ||= xml.xpath("//pnx:record", response_namespaces).collect { |record|
      Exlibris::Primo::Record.new(:raw_xml => record.to_xml, :namespaces => record.namespaces) }
end