Class: MaxMind::GeoIP2::Record::RepresentedCountry
Overview
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 Country for inherited methods.
Instance Method Summary collapse
-
#type ⇒ String?
A string indicating the type of entity that is representing the country.
Methods inherited from Country
#confidence, #geoname_id, #in_european_union?, #iso_code, #names
Methods inherited from Place
Instance Method Details
#type ⇒ String?
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.
21 22 23 |
# File 'lib/maxmind/geoip2/record/represented_country.rb', line 21 def type get('type') end |