Method: MaxMind::GeoIP2::Record::Traits#anonymous_vpn?

Defined in:
lib/maxmind/geoip2/record/traits.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? property. This property is only available from Insights.

Returns:

  • (Boolean)


90
91
92
# File 'lib/maxmind/geoip2/record/traits.rb', line 90

def anonymous_vpn?
  get('is_anonymous_vpn')
end