Class: Notably::Configuration
- Inherits:
-
Object
- Object
- Notably::Configuration
- Defined in:
- lib/notably/configuration.rb
Instance Attribute Summary collapse
-
#redis ⇒ Object
Returns the value of attribute redis.
-
#touch_receivers ⇒ Object
Returns the value of attribute touch_receivers.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/notably/configuration.rb', line 5 def initialize @redis = Redis.current @touch_receivers = true end |
Instance Attribute Details
#redis ⇒ Object
Returns the value of attribute redis.
3 4 5 |
# File 'lib/notably/configuration.rb', line 3 def redis @redis end |
#touch_receivers ⇒ Object
Returns the value of attribute touch_receivers.
3 4 5 |
# File 'lib/notably/configuration.rb', line 3 def touch_receivers @touch_receivers end |