Method: MaxMind::GeoIP2::Model::AnonymousIP#network

Defined in:
lib/maxmind/geoip2/model/anonymous_ip.rb

#networkString

The network in CIDR notation associated with the record. In particular, this is the largest network where all of the fields besides ip_address have the same value.

Returns:

  • (String)


47
48
49
# File 'lib/maxmind/geoip2/model/anonymous_ip.rb', line 47

def network
  get('network')
end