class CrystalWeather::Types::Coordinates
- CrystalWeather::Types::Coordinates
- Reference
- Object
Overview
Coordinates
represents the coordinates of a specific location
Defined in:
types/misc.crConstructors
-
.new(data : JSON::Any)
Creates a new
Coordinates
object based on the data sent by the API
Instance Method Summary
-
#latitude : Float64
Location's latitude
-
#longitude : Float64
Location's longitude