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

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

#hosting_provider?Boolean

This is true if the IP address belongs to a hosting or VPN provider (see description of the anonymous_vpn? method).

Returns:

  • (Boolean)


31
32
33
# File 'lib/maxmind/geoip2/model/anonymous_ip.rb', line 31

def hosting_provider?
  get('is_hosting_provider')
end