class Geocoder::Result::IpapiCom
def self.response_attributes
def self.response_attributes %w[country region city zip timezone isp org as reverse query status message mobile proxy lat lon] end
def address
def address "#{city}, #{state_code} #{postal_code}, #{country}".sub(/^[ ,]*/, "") end
def coordinates
def coordinates [lat, lon] end
def country_code
def country_code @data['countryCode'] end
def postal_code
def postal_code zip end
def region_name
def region_name @data['regionName'] end
def state
def state region_name end
def state_code
def state_code region end