Sha256: b845976442a6c770ae58b08eea877677241956e6b68bb6a1468a9c880c1e2320

Contents?: true

Size: 239 Bytes

Versions: 14

Compression:

Stored size: 239 Bytes

Contents

module Searchkick
  module Search

    def search(term, options = {})
      query = Searchkick::Query.new(self, term, options)
      if options[:execute] == false
        query
      else
        query.execute
      end
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
searchkick-0.7.9 lib/searchkick/search.rb
searchkick-0.7.8 lib/searchkick/search.rb
searchkick-0.7.7 lib/searchkick/search.rb
searchkick-0.7.6 lib/searchkick/search.rb
searchkick-0.7.5 lib/searchkick/search.rb
searchkick-0.7.4 lib/searchkick/search.rb
searchkick-0.7.3 lib/searchkick/search.rb
searchkick-0.7.2 lib/searchkick/search.rb
searchkick-0.7.1 lib/searchkick/search.rb
searchkick-0.7.0 lib/searchkick/search.rb
searchkick-0.6.3 lib/searchkick/search.rb
searchkick-0.6.2 lib/searchkick/search.rb
searchkick-0.6.1 lib/searchkick/search.rb
searchkick-0.6.0 lib/searchkick/search.rb