class MaxMind::GeoIP2::Model::ConnectionType
Public Instance Methods
connection_type()
click to toggle source
The connection type may take the following values: “Dialup”, “Cable/DSL”, “Corporate”, “Cellular”. Additional values may be added in the future.
@return [String, nil]
# File lib/maxmind/geoip2/model/connection_type.rb, line 14 def connection_type get('connection_type') end
ip_address()
click to toggle source
The IP address that the data in the model is for.
@return [String]
# File lib/maxmind/geoip2/model/connection_type.rb, line 21 def ip_address get('ip_address') end
network()
click to toggle source
The network in CIDR notation associated with the record. In particular, this is the largest network where all of the fields besides ip_address
have the same value.
@return [String]
# File lib/maxmind/geoip2/model/connection_type.rb, line 30 def network get('network') end