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-0.1.11 lib/libis/services/generic_search.rb
libis-services-0.1.10 lib/libis/services/generic_search.rb
libis-services-0.1.9 lib/libis/services/generic_search.rb
libis-services-0.1.7 lib/libis/services/generic_search.rb
libis-services-0.1.5 lib/libis/services/generic_search.rb
libis-services-0.1.3 lib/libis/services/generic_search.rb
libis-services-0.1.2 lib/libis/services/generic_search.rb
libis-services-0.1.1 lib/libis/services/generic_search.rb
libis-services-0.1.0-java lib/libis/services/generic_search.rb
libis-services-0.0.3 lib/libis/services/generic_search.rb
libis-services-0.0.2 lib/libis/services/generic_search.rb