struct GeoIP2::Record::Country

Defined in:

geoip2/record.cr

Instance Method Summary

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

name : String | Nil name, names : Hash(String, String) names

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 confidence : Int32 | Nil #

[View source]
def geoname_id : Int32 | Nil #

[View source]
def in_european_union? : Bool #

[View source]
def iso_code : String | Nil #

[View source]