Class: YrWeather::Configuration
- Inherits:
-
Object
- Object
- YrWeather::Configuration
- Defined in:
- lib/yr_weather.rb
Instance Attribute Summary collapse
-
#redis ⇒ Object
Returns the value of attribute redis.
-
#sitename ⇒ Object
Returns the value of attribute sitename.
-
#utc_offset ⇒ Object
Returns the value of attribute utc_offset.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 26 |
# File 'lib/yr_weather.rb', line 22 def initialize @sitename = nil @redis = nil @utc_offset = nil end |
Instance Attribute Details
#redis ⇒ Object
Returns the value of attribute redis.
20 21 22 |
# File 'lib/yr_weather.rb', line 20 def redis @redis end |
#sitename ⇒ Object
Returns the value of attribute sitename.
19 20 21 |
# File 'lib/yr_weather.rb', line 19 def sitename @sitename end |
#utc_offset ⇒ Object
Returns the value of attribute utc_offset.
21 22 23 |
# File 'lib/yr_weather.rb', line 21 def utc_offset @utc_offset end |