Sha256: fc0649d47ad808a04d4175068a8fd41f480da00a0337d679a23a65892d486273

Contents?: true

Size: 699 Bytes

Versions: 25

Compression:

Stored size: 699 Bytes

Contents

module Exlibris
  module Primo
    module WebService
      module Response

        #
        #
        #
        class Search < Base
          include DidUMean
          include Facets
          include Records
          include SearchStats
        end

        #
        #
        #
        class FullView < Search
          attr_reader :record

          def initialize *args
            super
            @record = records.first
            # @record = records.first.last
            @local = parse_local(search_doc["LOCAL"]) if search_doc
          end

          def search_doc
            xml.at_xpath("//search:DOC", response_namespaces)
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-2.1.0 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-2.0.0 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.9 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.8 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.7 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.6 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.5 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.4 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.3 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.2 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.1 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.1.0 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.11 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.10 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.9 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.8 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.7 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.6 lib/exlibris/primo/web_service/response/search.rb
exlibris-primo-1.0.5 lib/exlibris/primo/web_service/response/search.rb