Sha256: c93bbdbae0930ca4896cb09093fa8c6cfb87ea0bedf453aa3d99a9dbb2d859d3
Contents?: true
Size: 620 Bytes
Versions: 25
Compression:
Stored size: 620 Bytes
Contents
module Exlibris module Primo module WebService module Response module Facets def facets @facets ||= (facet_list) ? facet_list.xpath("//search:FACET", response_namespaces).collect { |facet| accurate = (facet.parent["ACCURATE_COUNTERS"].eql? "true") Exlibris::Primo::Facet.new(:raw_xml => facet.to_xml, :accurate => accurate) } : [] end def facet_list @facet_list ||= xml.at_xpath("//search:FACETLIST", response_namespaces) end private :facet_list end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems