Method: MaxMind::GeoIP2::Record::RepresentedCountry#type

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

#typeString?

A string indicating the type of entity that is representing the country. Currently we only return military but this could expand to include other types in the future.

Returns:

  • (String, nil)


21
22
23
# File 'lib/maxmind/geoip2/record/represented_country.rb', line 21

def type
  get('type')
end