class MaxMindDB::Result::Traits

Attributes

raw[R]

Public Class Methods

new(raw) click to toggle source
# File lib/maxminddb/result/traits.rb, line 4
def initialize(raw)
  @raw = raw || {}
end

Public Instance Methods

is_anonymous_proxy() click to toggle source
# File lib/maxminddb/result/traits.rb, line 8
def is_anonymous_proxy
  raw['is_anonymous_proxy']
end
is_satellite_provider() click to toggle source
# File lib/maxminddb/result/traits.rb, line 12
def is_satellite_provider
  raw['is_satellite_provider']
end