Class: Barometer::WeatherService::WundergroundV1::Response::Sun
- Inherits:
-
Object
- Object
- Barometer::WeatherService::WundergroundV1::Response::Sun
- Defined in:
- lib/barometer/weather_services/wunderground_v1/response/sun.rb
Instance Method Summary collapse
-
#initialize(payload, timezone, response) ⇒ Sun
constructor
A new instance of Sun.
- #parse ⇒ Object
Constructor Details
#initialize(payload, timezone, response) ⇒ Sun
Returns a new instance of Sun.
6 7 8 9 10 |
# File 'lib/barometer/weather_services/wunderground_v1/response/sun.rb', line 6 def initialize(payload, timezone, response) @payload = payload @timezone = timezone @response = response end |