class Geocoder::Result::Geoip2

def longitude

def longitude
  return 0.0 unless @data['location']
  @data['location']['longitude'].to_f
end