Class: OpenWeather::Current
- Extended by:
- SeveralCitiesClassMethods
- Defined in:
- lib/open_weather/api.rb,
lib/open_weather/current.rb
Instance Attribute Summary
Attributes inherited from Base
#message, #options, #status, #url, #weather_info
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Current
constructor
A new instance of Current.
Methods included from SeveralCitiesClassMethods
circle_zone, cities, rectangle_zone
Methods inherited from Base
Methods included from ClassMethods
Constructor Details
#initialize(options = {}) ⇒ Current
Returns a new instance of Current.
3 4 5 |
# File 'lib/open_weather/current.rb', line 3 def initialize( = {}) super('http://api.openweathermap.org/data/2.5/weather', ) end |