Method: MaxMind::GeoIP2::Record::Traits#connection_type

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

#connection_typeString?

The connection type may take the following values: “Dialup”, “Cable/DSL”, “Corporate”, “Cellular”, and “Satellite”. Additional values may be added in the future. This attribute is only available from the City Plus and Insights web services and the Enterprise database.

Returns:

  • (String, nil)


51
52
53
# File 'lib/maxmind/geoip2/record/traits.rb', line 51

def connection_type
  get('connection_type')
end