Method: MaxMind::GeoIP2::Record::Traits#user_count

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

#user_countInteger?

The estimated number of users sharing the IP/network during the past 24 hours. For IPv4, the count is for the individual IP. For IPv6, the count is for the /64 network. This property is only available from Insights.

Returns:

  • (Integer, nil)


211
212
213
# File 'lib/maxmind/geoip2/record/traits.rb', line 211

def user_count
  get('user_count')
end