struct GeoIP2::Record::Postal

Defined in:

geoip2/record.cr

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 code : String | Nil #

[View source]
def confidence : Int32 | Nil #

[View source]