hermes
0.3.1
Hermes
AggregationResponse
Client
Cluster
Config
Hit
Hits
Index
OptionValue
MultiGetResponse
Persistent
Any
Repository
Response
SearchResponse
Types
Binary
Circle
Envelope
GeometryCollection
GeoPoint
GeoShape
IGeoShape
IP
LineString
MultiLineString
MultiPoint
MultiPolygon
Point
Polygon
Range
struct
Hermes::Types::GeoPoint
Hermes::Types::GeoPoint
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
hermes/types/geo_point.cr
Constructors
.new
(lat, lon)
.new
(pull : JSON::PullParser)
Instance Method Summary
#lat
: Float64
#lat=
(lat : Float64)
#lon
: Float64
#lon=
(lon : Float64)
Constructor Detail
def self.
new
(lat, lon)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
lat
: Float64
#
[
View source
]
def
lat=
(lat : Float64)
#
[
View source
]
def
lon
: Float64
#
[
View source
]
def
lon=
(lon : Float64)
#
[
View source
]