Method: MaxMind::GeoIP2::Record::Traits#user_type
- Defined in:
- lib/maxmind/geoip2/record/traits.rb
#user_type ⇒ String?
The user type associated with the IP address. This can be one of the following values:
-
business
-
cafe
-
cellular
-
college
-
consumer_privacy_network
-
content_delivery_network
-
dialup
-
government
-
hosting
-
library
-
military
-
residential
-
router
-
school
-
search_engine_spider
-
traveler
This attribute is only available from the Insights web service and the Enterprise database.
239 240 241 |
# File 'lib/maxmind/geoip2/record/traits.rb', line 239 def user_type get('user_type') end |