class CrystalWeather::Types::Current
- CrystalWeather::Types::Current
- Reference
- Object
Defined in:
types/current.crConstructors
-
.new(data : JSON::Any)
Creates a new
Current
object based on the data sent by the API
Instance Method Summary
-
#city : City
City where the weather conditions applies
-
#conditions : Conditions
Details of the weather conditions