Sha256: e48fbab7ddd151e9956dd6d02d6b37adee62c1d2c95c4779a466331eb2c325f5
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
module Geokit module Geocoders class CachedMultiGeocoder class << self def cached_location(location) CachedLocation.find_by_address(location) || CachedLocation.new(:address => location) end def geocode(location) cached_location(location).update_and_return! end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems