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::Record::BaseRecord
GeoIP2::Record::BaseRecord
Struct
Value
Object
Direct Known Subclasses
GeoIP2::Record::Location
GeoIP2::Record::MaxMind
GeoIP2::Record::PlaceRecord
GeoIP2::Record::Postal
GeoIP2::Record::Traits
Defined in:
geoip2/record.cr
Constructors
.new
(raw : MaxMindDB::Any, locales : Array(String), ip_address : String)
Instance Method Summary
#==
(other :
self
)
#inspect
(io)
#ip_address
: String
#locales
: Array(String)
#raw
: MaxMindDB::Any
Macro Summary
mapping
(*properties)
method_missing
(call)
Constructor Detail
def self.
new
(raw : MaxMindDB::Any, locales : Array(String), ip_address : String)
#
[
View source
]
Instance Method Detail
def
==
(other :
self
)
#
[
View source
]
def
inspect
(io)
#
[
View source
]
def
ip_address
: String
#
[
View source
]
def
locales
: Array(String)
#
[
View source
]
def
raw
: MaxMindDB::Any
#
[
View source
]
Macro Detail
macro
mapping
(*properties)
#
[
View source
]
macro
method_missing
(call)
#
[
View source
]