class MaxMind::GeoIP2::Record::RepresentedCountry
Contains data for the represented country associated with an IP address.
This class contains the country-level data associated with an IP address for the IP's represented country. The represented country is the country represented by something like a military base.
See {MaxMind::GeoIP2::Record::Country} for inherited methods.
Public Instance Methods
type()
click to toggle source
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.
@return [String, nil]
# File lib/maxmind/geoip2/record/represented_country.rb, line 41 def type get('type') end