Class: Barometer::WeatherService::Yahoo
- Inherits:
-
Object
- Object
- Barometer::WeatherService::Yahoo
- Defined in:
- lib/barometer/weather_services/yahoo.rb,
lib/barometer/weather_services/yahoo/api.rb,
lib/barometer/weather_services/yahoo/query.rb,
lib/barometer/weather_services/yahoo/response.rb,
lib/barometer/weather_services/yahoo/response/sun.rb,
lib/barometer/weather_services/yahoo/response/location.rb,
lib/barometer/weather_services/yahoo/response/timezone.rb,
lib/barometer/weather_services/yahoo/response/current_weather.rb,
lib/barometer/weather_services/yahoo/response/forecasted_weather.rb
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(query) ⇒ Yahoo
constructor
A new instance of Yahoo.
- #measure! ⇒ Object
Constructor Details
#initialize(query) ⇒ Yahoo
Returns a new instance of Yahoo.
11 12 13 |
# File 'lib/barometer/weather_services/yahoo.rb', line 11 def initialize(query) @query = query end |