struct GeoIP2::Record::MaxMind

Defined in:

geoip2/record.cr:138
geoip2/record.cr:150

Instance Method Summary

Instance methods inherited from struct GeoIP2::Record::BaseRecord

==(other : self) ==, inspect(io) inspect, ip_address : String ip_address, locales : Array(String) locales, raw : MaxMindDB::Any raw

Constructor methods inherited from struct GeoIP2::Record::BaseRecord

new(raw : MaxMindDB::Any, locales : Array(String), ip_address : String) new

Instance Method Detail

def accuracy_radius : Int32 | Nil #

[View source]
def average_income : Int32 | Nil #

[View source]
def latitude : Float64 | Nil #

[View source]
def longitude : Float64 | Nil #

[View source]
def metro_code : Int32 | Nil #

[View source]
def population_density : Int32 | Nil #

[View source]
def queries_remaining : Int32 | Nil #

[View source]
def time_zone : String | Nil #

[View source]