class Geocoder::Lookup::Base

def fetch_raw_data(query)


The result might or might not be cached.
Fetch a raw geocoding result (JSON string).
#
def fetch_raw_data(query)
  key = cache_key(query)
  if cache and body = cache[key]
    @cache_hit = true
  else
    check_api_key_configuration!(query)
    response = make_api_request(query)
    body = response.body
    if cache and (200..399).include?(response.code.to_i)
      cache[key] = body
    end
    @cache_hit = false
  end
  body
end