Class: WeatherGemKg::Client
- Inherits:
-
Object
- Object
- WeatherGemKg::Client
- Defined in:
- lib/weather_gem_kg/client.rb
Overview
Base contract for weather providers. Implementations must return an Array of ForecastDay.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#forecast(city:, days:) ⇒ Object
7 8 9 |
# File 'lib/weather_gem_kg/client.rb', line 7 def forecast(city:, days:) raise NotImplementedError, "#{self.class}#forecast must be implemented" end |