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

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

#anycast?Boolean

This is true if the IP address belongs to an anycast network.

This property is only available from the Country, City Plus, and Insights web services and the GeoIP2 Country, City, and Enterprise databases.

Returns:

  • (Boolean)


102
103
104
# File 'lib/maxmind/geoip2/record/traits.rb', line 102

def anycast?
  get('is_anycast')
end