Class: FiresideFinder::Geocode
- Inherits:
-
Object
- Object
- FiresideFinder::Geocode
- Defined in:
- lib/fireside-finder/geocoder.rb
Instance Attribute Summary collapse
-
#geoaddress ⇒ Object
Returns the value of attribute geoaddress.
-
#user_input ⇒ Object
Returns the value of attribute user_input.
Class Method Summary collapse
Instance Attribute Details
#geoaddress ⇒ Object
Returns the value of attribute geoaddress.
8 9 10 |
# File 'lib/fireside-finder/geocoder.rb', line 8 def geoaddress @geoaddress end |
#user_input ⇒ Object
Returns the value of attribute user_input.
8 9 10 |
# File 'lib/fireside-finder/geocoder.rb', line 8 def user_input @user_input end |
Class Method Details
.geosearch(user_input) ⇒ Object
10 11 12 |
# File 'lib/fireside-finder/geocoder.rb', line 10 def self.geosearch(user_input) Geocoder.coordinates(user_input) end |