Sha256: d1d1bb24946287074f41a0260354d738dfde68d15979bb59cee395379c049272
Contents?: true
Size: 595 Bytes
Versions: 9
Compression:
Stored size: 595 Bytes
Contents
module Exlibris module Primo module WebService module Response module Records def records @records ||= xml.xpath("//pnx:record", response_namespaces).collect { |record| Exlibris::Primo::Record.new(:raw_xml => record.to_xml) } # @records ||= Hash[xml.xpath("//pnx:record", response_namespaces).collect { |record| # [ record.xpath("//pnx:record_id", response_namespaces).inner_text, # Exlibris::Primo::Record.new(:raw_xml => record.to_xml) ]}] end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems