Method: MaxMind::GeoIP2::Record::Traits#mobile_country_code

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

#mobile_country_codeString?

The mobile country code (MCC) associated with the IP address and ISP.

This attribute is only available from the City Plus and Insights web services and the Enterprise database.

Returns:

  • (String, nil)


131
132
133
# File 'lib/maxmind/geoip2/record/traits.rb', line 131

def mobile_country_code
  get('mobile_country_code')
end