class Geocoder::Result::Ip2location

def self.response_attributes

def self.response_attributes
  %w[country_code country_name region_name city_name latitude longitude
    zip_code time_zone isp domain net_speed idd_code area_code usage_type
    weather_station_code weather_station_name mcc mnc mobile_brand elevation]
end

def address(format = :full)

def address(format = :full)
  "#{city_name} #{zip_code}, #{country_name}".sub(/^[ ,]*/, '')
end