Class: FiresideFinder::Geocode

Inherits:
Object
  • Object
show all
Defined in:
lib/fireside-finder/geocoder.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#geoaddressObject

Returns the value of attribute geoaddress.



8
9
10
# File 'lib/fireside-finder/geocoder.rb', line 8

def geoaddress
  @geoaddress
end

#user_inputObject

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