Sha256: 5ecc6c8ec147e73760257ba70d5561cd6d9daa730f44a71674865b31447b6ca2

Contents?: true

Size: 431 Bytes

Versions: 25

Compression:

Stored size: 431 Bytes

Contents

module Exlibris
  module Primo
    module WebService
      module Response
        module DidUMean
          def did_u_mean
            @did_u_mean ||= querytransform["QUERY"].strip unless querytransform.nil?
          end
          
          def querytransform
            @querytransform ||= xml.at_xpath("//search:QUERYTRANSFORM[@ACTION='did_u_mean']", response_namespaces)
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-1.0.4 lib/exlibris/primo/web_service/response/did_u_mean.rb
exlibris-primo-1.0.3 lib/exlibris/primo/web_service/response/did_u_mean.rb
exlibris-primo-1.0.2 lib/exlibris/primo/web_service/response/did_u_mean.rb
exlibris-primo-1.0.1 lib/exlibris/primo/web_service/response/did_u_mean.rb
exlibris-primo-1.0.0 lib/exlibris/primo/web_service/response/did_u_mean.rb