Class: MaxMind::GeoIP2::Model::Enterprise

Inherits:
City
  • Object
show all
Defined in:
lib/maxmind/geoip2/model/enterprise.rb

Overview

Model class for the data returned by GeoIP2 Enterprise database lookups.

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

See City for inherited methods.

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