Method: MaxMind::GeoIP2::Record::Traits#mobile_network_code

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

#mobile_network_codeString?

The mobile network code (MNC) 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)


142
143
144
# File 'lib/maxmind/geoip2/record/traits.rb', line 142

def mobile_network_code
  get('mobile_network_code')
end