Class: PubsubNotifier::Config
- Inherits:
-
Object
- Object
- PubsubNotifier::Config
- Defined in:
- lib/pubsub_notifier/config.rb
Instance Attribute Summary collapse
-
#clients ⇒ Object
readonly
Returns the value of attribute clients.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/pubsub_notifier/config.rb', line 8 def initialize @logger = Logger.new(STDOUT) @clients = {} end |
Instance Attribute Details
#clients ⇒ Object (readonly)
Returns the value of attribute clients.
6 7 8 |
# File 'lib/pubsub_notifier/config.rb', line 6 def clients @clients end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/pubsub_notifier/config.rb', line 5 def logger @logger end |