abstract struct GeoIP2::Model::BaseCity

Direct Known Subclasses

Defined in:

geoip2/model.cr

Instance Method Summary

Instance methods inherited from struct GeoIP2::Model::BaseCountry

continent : Record::Continent continent, country : Record::Country country, maxmind : Record::Maxmind maxmind, registered_country : Record::RegisteredCountry registered_country, represented_country : Record::RepresentedCountry represented_country, traits : Record::Traits traits

Instance methods inherited from struct GeoIP2::Model::BaseModel

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

Constructor methods inherited from struct GeoIP2::Model::BaseModel

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

Instance Method Detail

def city : Record::City #

[View source]
def location : Record::Location #

[View source]
def most_specific_subdivision : Record::Subdivision #

[View source]
def postal : Record::Postal #

[View source]
def subdivisions : Array(Record::Subdivision) #

[View source]