Class: YrWeather::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/yr_weather.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#redisObject

Returns the value of attribute redis.



20
21
22
# File 'lib/yr_weather.rb', line 20

def redis
  @redis
end

#sitenameObject

Returns the value of attribute sitename.



19
20
21
# File 'lib/yr_weather.rb', line 19

def sitename
  @sitename
end

#utc_offsetObject

Returns the value of attribute utc_offset.



21
22
23
# File 'lib/yr_weather.rb', line 21

def utc_offset
  @utc_offset
end