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