Module: Lieu::Client::QueryAutocomplete
- Included in:
- Lieu::Client
- Defined in:
- lib/lieu/client/query_autocomplete.rb
Overview
Methods for the Query Autocomplete API
Instance Method Summary collapse
-
#query_autocomplete(input, options = {}) ⇒ Array<Hashie::Mash>
Perform a categorical search.
Instance Method Details
#query_autocomplete(input, options = {}) ⇒ Array<Hashie::Mash>
Perform a categorical search.
14 15 16 17 18 |
# File 'lib/lieu/client/query_autocomplete.rb', line 14 def query_autocomplete(input, ={}) .merge!(input: input) get('queryautocomplete', ).predictions end |