Method: MaxMind::GeoIP2::Model::AnonymousIP#anonymous_vpn?

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

#anonymous_vpn?Boolean

This is true if the IP address is registered to an anonymous VPN provider. If a VPN provider does not register subnets under names associated with them, we will likely only flag their IP ranges using the hosting_provider? method.

Returns:

  • (Boolean)


23
24
25
# File 'lib/maxmind/geoip2/model/anonymous_ip.rb', line 23

def anonymous_vpn?
  get('is_anonymous_vpn')
end