Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
geoip2
v0.5.3
GeoIP2
AddressNotFoundError
Database
Model
AnonymousIp
Asn
BaseCity
BaseCountry
BaseModel
City
ConnectionType
Country
DensityIncome
Domain
Enterprise
Insights
Isp
SimpleModel
UserCount
Record
BaseRecord
City
Continent
Country
Location
MaxMind
PlaceRecord
Postal
RegisteredCountry
RepresentedCountry
Subdivision
Traits
Built with Crystal 1.9.2
2023-10-08 10:30:33 UTC
abstract struct
GeoIP2::Model::BaseModel
GeoIP2::Model::BaseModel
Struct
Value
Object
Direct Known Subclasses
GeoIP2::Model::BaseCountry
GeoIP2::Model::SimpleModel
Defined in:
geoip2/model.cr
Constructors
.new
(raw : MaxMindDB::Any, locales : Array(String), ip_address : String)
Instance Method Summary
#ip_address
: String
#locales
: Array(String)
#raw
: MaxMindDB::Any
Macro Summary
def_records
(*methods)
method_missing
(call)
Constructor Detail
def self.
new
(raw : MaxMindDB::Any, locales : Array(String), ip_address : String)
#
[
View source
]
Instance Method Detail
def
ip_address
: String
#
[
View source
]
def
locales
: Array(String)
#
[
View source
]
def
raw
: MaxMindDB::Any
#
[
View source
]
Macro Detail
macro
def_records
(*methods)
#
[
View source
]
macro
method_missing
(call)
#
[
View source
]