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