Class: Geocoder::Result::GooglePlacesSearch
- Inherits:
-
Google
- Object
- Base
- Google
- Geocoder::Result::GooglePlacesSearch
show all
- Defined in:
- lib/geocoder/results/google_places_search.rb
Instance Attribute Summary
Attributes inherited from Base
#cache_hit, #data
Instance Method Summary
collapse
Methods inherited from Google
#address, #address_components, #address_components_of_type, #bounds, #coordinates, #formatted_address, #geometry, #neighborhood, #partial_match, #place_id, #precision, #route, #street_address, #street_number, #sub_state, #sub_state_code, #viewport
Methods inherited from Base
#address, #coordinates, #initialize, #latitude, #longitude
Instance Method Details
#city ⇒ Object
19
20
21
|
# File 'lib/geocoder/results/google_places_search.rb', line 19
def city
""
end
|
#country ⇒ Object
43
44
45
|
# File 'lib/geocoder/results/google_places_search.rb', line 43
def country
""
end
|
#country_code ⇒ Object
47
48
49
|
# File 'lib/geocoder/results/google_places_search.rb', line 47
def country_code
""
end
|
#photos ⇒ Object
15
16
17
|
# File 'lib/geocoder/results/google_places_search.rb', line 15
def photos
@data["photos"]
end
|
#postal_code ⇒ Object
39
40
41
|
# File 'lib/geocoder/results/google_places_search.rb', line 39
def postal_code
""
end
|
#province ⇒ Object
31
32
33
|
# File 'lib/geocoder/results/google_places_search.rb', line 31
def province
""
end
|
#province_code ⇒ Object
35
36
37
|
# File 'lib/geocoder/results/google_places_search.rb', line 35
def province_code
""
end
|
#rating ⇒ Object
11
12
13
|
# File 'lib/geocoder/results/google_places_search.rb', line 11
def rating
@data["rating"]
end
|
#state ⇒ Object
23
24
25
|
# File 'lib/geocoder/results/google_places_search.rb', line 23
def state
""
end
|
#state_code ⇒ Object
27
28
29
|
# File 'lib/geocoder/results/google_places_search.rb', line 27
def state_code
""
end
|
#types ⇒ Object
7
8
9
|
# File 'lib/geocoder/results/google_places_search.rb', line 7
def types
@data["types"] || []
end
|