Class: MaxMind::GeoIP2::Model::Insights

Inherits:
City show all
Defined in:
lib/maxmind/geoip2/model/insights.rb

Overview

Model class for the data returned by the GeoIP2 Precision Insights web service.

The only difference between the City and Insights model classes is which fields in each record may be populated. See dev.maxmind.com/geoip/docs/web-services?lang=en for more details.

Instance Attribute Summary

Attributes inherited from City

#city, #location, #postal, #subdivisions

Attributes inherited from Country

#continent, #country, #maxmind, #registered_country, #represented_country, #traits

Method Summary

Methods inherited from City

#most_specific_subdivision