class

WeatherService

Inherits Reference < Object

Class methods

get_forecast(latitude : Float64 | Nil, longitude : Float64 | Nil, date : Time) : WeatherForecast | Nil

For now, this returns mock data In production, this would call a weather API like OpenWeatherMap

Source
get_weather_alert(forecast : WeatherForecast | Nil) : String | Nil
Source

Nested types