abstract struct GeoIP2::Model::BaseCountry

Direct Known Subclasses

Defined in:

geoip2/model.cr

Instance Method Summary

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 continent : Record::Continent #

[View source]
def country : Record::Country #

[View source]
def maxmind : Record::Maxmind #

[View source]
def registered_country : Record::RegisteredCountry #

[View source]
def represented_country : Record::RepresentedCountry #

[View source]
def traits : Record::Traits #

[View source]