Class: Mantle::Configuration
- Inherits:
-
Object
- Object
- Mantle::Configuration
- Defined in:
- lib/mantle/configuration.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#message_bus_redis ⇒ Object
Returns the value of attribute message_bus_redis.
-
#message_handlers ⇒ Object
Returns the value of attribute message_handlers.
-
#redis_namespace ⇒ Object
Returns the value of attribute redis_namespace.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 |
# File 'lib/mantle/configuration.rb', line 9 def initialize = Mantle::MessageHandlers.new @logger = Logger.new @redis_namespace = nil end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/mantle/configuration.rb', line 3 def logger @logger end |
#message_bus_redis ⇒ Object
Returns the value of attribute message_bus_redis.
3 4 5 |
# File 'lib/mantle/configuration.rb', line 3 def end |
#message_handlers ⇒ Object
Returns the value of attribute message_handlers.
7 8 9 |
# File 'lib/mantle/configuration.rb', line 7 def end |
#redis_namespace ⇒ Object
Returns the value of attribute redis_namespace.
3 4 5 |
# File 'lib/mantle/configuration.rb', line 3 def redis_namespace @redis_namespace end |