Class: Barometer::WeatherService::WundergroundV1::Response::FullTimeZone
- Inherits:
-
Response::TimeZone
- Object
- Response::TimeZone
- Barometer::WeatherService::WundergroundV1::Response::FullTimeZone
- Defined in:
- lib/barometer/weather_services/wunderground_v1/response/full_timezone.rb
Instance Method Summary collapse
Methods inherited from Response::TimeZone
Constructor Details
This class inherits a constructor from Barometer::WeatherService::Response::TimeZone
Instance Method Details
#parse ⇒ Object
6 7 8 9 10 11 |
# File 'lib/barometer/weather_services/wunderground_v1/response/full_timezone.rb', line 6 def parse payload.fetch_each('simpleforecast', 'forecastday') do |forecast_payload| timezone = timezone(forecast_payload) return Data::Zone.new(timezone) if timezone end end |