Class: Outhad::Integrations::Config
- Inherits:
-
Object
- Object
- Outhad::Integrations::Config
- Defined in:
- lib/outhad/integrations/config.rb
Instance Attribute Summary collapse
-
#exception_reporter ⇒ Object
Returns the value of attribute exception_reporter.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(params = {}) ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/outhad/integrations/config.rb', line 8 def initialize(params = {}) @logger = params[:logger] @exception_reporter = params[:exception_reporter] end |
Instance Attribute Details
#exception_reporter ⇒ Object
Returns the value of attribute exception_reporter.
6 7 8 |
# File 'lib/outhad/integrations/config.rb', line 6 def exception_reporter @exception_reporter end |
#logger ⇒ Object
Returns the value of attribute logger.
6 7 8 |
# File 'lib/outhad/integrations/config.rb', line 6 def logger @logger end |