class Geocoder::Result::Freegeoip

def self.response_attributes

def self.response_attributes
  %w[metro_code ip]
end

def city

def city
  @data['city']
end

def country

def country
  @data['country_name']
end

def country_code

def country_code
  @data['country_code']
end

def postal_code

def postal_code
  @data['zipcode'] || @data['zip_code']
end

def state

def state
  @data['region_name']
end

def state_code

def state_code
  @data['region_code']
end