class Geocoder::Lookup::Base
def make_api_request(query)
return the response object.
Make an HTTP(S) request to a geocoding API and
#
def make_api_request(query) timeout(configuration.timeout) do uri = URI.parse(query_url(query)) client = http_client.new(uri.host, uri.port) client.use_ssl = true if configuration.use_https client.get(uri.request_uri, configuration.http_headers) end end