Class: DefraRuby::Alert::Configuration
- Inherits:
-
Object
- Object
- DefraRuby::Alert::Configuration
- Defined in:
- lib/defra_ruby/alert/configuration.rb
Instance Attribute Summary collapse
-
#blocklist ⇒ Object
Returns the value of attribute blocklist.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#host ⇒ Object
Returns the value of attribute host.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#project_key ⇒ Object
Returns the value of attribute project_key.
-
#root_directory ⇒ Object
Returns the value of attribute root_directory.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/defra_ruby/alert/configuration.rb', line 8 def initialize @blocklist = [] @enabled = false end |
Instance Attribute Details
#blocklist ⇒ Object
Returns the value of attribute blocklist.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def blocklist @blocklist end |
#enabled ⇒ Object
Returns the value of attribute enabled.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def enabled @enabled end |
#environment ⇒ Object
Returns the value of attribute environment.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def environment @environment end |
#host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def host @host end |
#logger ⇒ Object
Returns the value of attribute logger.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def logger @logger end |
#project_key ⇒ Object
Returns the value of attribute project_key.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def project_key @project_key end |
#root_directory ⇒ Object
Returns the value of attribute root_directory.
6 7 8 |
# File 'lib/defra_ruby/alert/configuration.rb', line 6 def root_directory @root_directory end |