Skip to content

Instantly share code, notes, and snippets.

@brandon-beacher
Created April 15, 2011 20:13
Show Gist options
  • Save brandon-beacher/922388 to your computer and use it in GitHub Desktop.
Save brandon-beacher/922388 to your computer and use it in GitHub Desktop.
GeoKit::Geocoders::Geocoder.class_eval do
def self.geocode(address)
geo_loc = GeoKit::GeoLoc.new \
:lat => 32.918593,
:lng => -96.958444,
:city => "Irving",
:state => "TX",
:country_code => "US"
geo_loc.success = true
geo_loc
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment