Sha256: a56ee43efef755746336400d0eddecd60b9c507aa26b2e22f1738011dcf7c70d

Contents?: true

Size: 801 Bytes

Versions: 31

Compression:

Stored size: 801 Bytes

Contents

# coding: utf-8

require 'libis/services/extend/http_fetch'

module Libis
  module Services

    module GenericSearch

      #noinspection RubyResolve
      attr_accessor :host
      #noinspection RubyResolve
      attr_reader :query, :term, :index, :base
      #noinspection RubyResolve
      attr_reader :num_records, :set_number
      #noinspection RubyResolve
      attr_reader :record_pointer, :session_id

      def query(query, options = {})
        raise RuntimeError, 'to be implemented'
      end

      def find(term, options = {})
        query(term, options)
      end

      def each(options = {}, &block)
        raise RuntimeError, 'to be implemented'
      end

      def next_record(options = {}, &block)
        raise RuntimeError, 'to be implemented'
      end

    end

  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
libis-services-1.1.0 lib/libis/services/generic_search.rb
libis-services-1.0.13 lib/libis/services/generic_search.rb
libis-services-1.0.12 lib/libis/services/generic_search.rb
libis-services-1.0.11 lib/libis/services/generic_search.rb
libis-services-1.0.10 lib/libis/services/generic_search.rb
libis-services-1.0.7 lib/libis/services/generic_search.rb
libis-services-1.0.6 lib/libis/services/generic_search.rb
libis-services-1.0.5 lib/libis/services/generic_search.rb
libis-services-1.0.2 lib/libis/services/generic_search.rb
libis-services-1.0.1 lib/libis/services/generic_search.rb
libis-services-1.0.0 lib/libis/services/generic_search.rb
libis-services-0.2.1 lib/libis/services/generic_search.rb
libis-services-0.2.0 lib/libis/services/generic_search.rb
libis-services-0.1.18 lib/libis/services/generic_search.rb
libis-services-0.1.17 lib/libis/services/generic_search.rb
libis-services-0.1.16 lib/libis/services/generic_search.rb
libis-services-0.1.15 lib/libis/services/generic_search.rb
libis-services-0.1.14 lib/libis/services/generic_search.rb
libis-services-0.1.13 lib/libis/services/generic_search.rb
libis-services-0.1.12 lib/libis/services/generic_search.rb