class Geocoder::CacheStore::Redis
def write(url, value, expire = @expiration)
def write(url, value, expire = @expiration) if expire.present? store.set key_for(url), value, ex: expire else store.set key_for(url), value end end
def write(url, value, expire = @expiration) if expire.present? store.set key_for(url), value, ex: expire else store.set key_for(url), value end end