Class: Lieu::Client
- Inherits:
-
Object
- Object
- Lieu::Client
- Includes:
- Actions, Autocomplete, Details, Photos, QueryAutocomplete, Search, Connection, Request
- Defined in:
- lib/lieu/client.rb,
lib/lieu/client/photos.rb,
lib/lieu/client/search.rb,
lib/lieu/client/actions.rb,
lib/lieu/client/details.rb,
lib/lieu/client/autocomplete.rb,
lib/lieu/client/query_autocomplete.rb
Overview
Client for the Google Places API
Defined Under Namespace
Modules: Actions, Autocomplete, Details, Photos, QueryAutocomplete, Search
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Actions
#add, #add_event, #bump, #delete, #delete_event, #event_details
Methods included from Photos
Methods included from QueryAutocomplete
Methods included from Autocomplete
Methods included from Search
#nearby_search, #radar_search, #text_search
Methods included from Details
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
18 19 20 21 22 23 24 |
# File 'lib/lieu/client.rb', line 18 def initialize(={}) = Lieu..merge() Configuration::VALID_OPTIONS.each do |key| send("#{key}=", [key]) end end |