Sha256: e52b524365ba4d37b829b90a9197638e126614d14e300fb491fbda445d9ae73b
Contents?: true
Size: 364 Bytes
Versions: 7
Compression:
Stored size: 364 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
7 entries across 7 versions & 1 rubygems