Module: ScopedSearch::AutoCompleteClassMethods

Defined in:
lib/scoped_search/definition.rb

Instance Method Summary collapse

Instance Method Details

#complete_for(query, options = {}) ⇒ Object


339
340
341
# File 'lib/scoped_search/definition.rb', line 339

def complete_for(query, options = {})
  ScopedSearch::AutoCompleteBuilder.auto_complete(scoped_search_definition, query, options)
end