Sha256: d80fb043250e32e590e991c7f70f7f31fcd196ef12475d722ead056817cdf1e0

Contents?: true

Size: 392 Bytes

Versions: 32

Compression:

Stored size: 392 Bytes

Contents

module Fiona7
  class SearchEngine
    def initialize(klass, query, offset, limit, sort, order)
      @klass = klass
      @query = query
      @offset, @limit = offset, limit
      @sort, @order = sort, order

      @count = 0
    end

    def total
      @count
    end

    def results
      raise "Not implemented"
    end

    def objects
      raise "Not implemented"
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
infopark_fiona7-1.2.0.0.0 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.9 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.8 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.7 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.6 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.5 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.4 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.3 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.2 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.10 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.1 lib/fiona7/search_engine.rb
infopark_fiona7-1.1.0.0.0 lib/fiona7/search_engine.rb