Class: Graticule::Geocoder::Bogus
- Inherits:
-
Object
- Object
- Graticule::Geocoder::Bogus
- Defined in:
- lib/graticule/geocoder/bogus.rb
Overview
Bogus geocoder that can be used for test purposes
Instance Method Summary collapse
-
#locate(address) ⇒ Object
returns a new location with the address set to the original query string.
Instance Method Details
#locate(address) ⇒ Object
returns a new location with the address set to the original query string
8 9 10 |
# File 'lib/graticule/geocoder/bogus.rb', line 8 def locate(address) Location.new :street => address end |