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

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

#hosting_provider?Boolean

This is true if the IP address belongs to a hosting or VPN provider (see description of the anonymous_vpn? property). This property is only available from Insights.

Returns:

  • (Boolean)


111
112
113
# File 'lib/maxmind/geoip2/record/traits.rb', line 111

def hosting_provider?
  get('is_hosting_provider')
end