class Geocoder::Lookup::Base
def fetch_data(query, reverse = false)
Returns a parsed search result (Ruby hash).
#
def fetch_data(query, reverse = false) begin parse_raw_data fetch_raw_data(query, reverse) rescue SocketError warn "Geocoding API connection cannot be established." rescue TimeoutError warn "Geocoding API not responding fast enough " + "(see Geocoder::Configuration.timeout to set limit)." end end