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