module WeatherForecaster

Constants

VERSION

Public Class Methods

forecast(city, count_days=nil) click to toggle source
# File lib/weather_forecaster.rb, line 5
def self.forecast(city, count_days=nil)
      w = WeatherForecastApi.new
      count_days ||= 1
      w.query(city, count_days) 
end