Sha256: df16124d937c848906c90a4e06d6878df8a15026b20bb6cddf4f96b9536dfe11

Contents?: true

Size: 473 Bytes

Versions: 31

Compression:

Stored size: 473 Bytes

Contents

# coding: utf-8

require 'libis/services/generic_search'

require_relative 'connector'

module Libis
  module Services
    module CollectiveAccess

      class Search < Connector
        include ::Libis::Services::GenericSearch

        def initialize(host = nil)
          super 'Search', host
        end

        def query(query, options = {})
          request :querySoap, type: (options[:index] || 'ca_objects'), query: query
        end

      end

    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
libis-services-0.1.11 lib/libis/services/collective_access/search.rb
libis-services-0.1.10 lib/libis/services/collective_access/search.rb
libis-services-0.1.9 lib/libis/services/collective_access/search.rb
libis-services-0.1.7 lib/libis/services/collective_access/search.rb
libis-services-0.1.5 lib/libis/services/collective_access/search.rb
libis-services-0.1.3 lib/libis/services/collective_access/search.rb
libis-services-0.1.2 lib/libis/services/collective_access/search.rb
libis-services-0.1.1 lib/libis/services/collective_access/search.rb
libis-services-0.1.0-java lib/libis/services/collective_access/search.rb
libis-services-0.0.3 lib/libis/services/collective_access/search.rb
libis-services-0.0.2 lib/libis/services/collective_access/search.rb