Class: OpenWeather::ForecastDaily

Inherits:
Base
  • Object
show all
Defined in:
lib/open_weather/forecast_daily.rb

Instance Attribute Summary

Attributes inherited from Base

#message, #options, #status, #url, #weather_info

Instance Method Summary collapse

Methods inherited from Base

#retrieve, #success?

Methods included from ClassMethods

#city, #city_id, #geocode

Constructor Details

#initialize(options = {}) ⇒ ForecastDaily

Returns a new instance of ForecastDaily.



3
4
5
# File 'lib/open_weather/forecast_daily.rb', line 3

def initialize options = {}
  super('http://api.openweathermap.org/data/2.5/forecast/daily', options)
end