Method: MaxMind::GeoIP2::Record::Continent#geoname_id

Defined in:
lib/maxmind/geoip2/record/continent.rb

#geoname_idString?

The GeoName ID for the continent. This attribute is returned by all location services and databases.

Returns:

  • (String, nil)


27
28
29
# File 'lib/maxmind/geoip2/record/continent.rb', line 27

def geoname_id
  get('geoname_id')
end