Class: DefraRuby::Alert::Configuration
- Inherits:
-
Object
- Object
- DefraRuby::Alert::Configuration
- Defined in:
- lib/defra_ruby/alert/configuration.rb
Instance Attribute Summary collapse
-
#blacklist ⇒ Object
Returns the value of attribute blacklist.
-
#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.
9 10 11 12 |
# File 'lib/defra_ruby/alert/configuration.rb', line 9 def initialize @blacklist = [] @enabled = false end |
Instance Attribute Details
#blacklist ⇒ Object
Returns the value of attribute blacklist.
7 8 9 |
# File 'lib/defra_ruby/alert/configuration.rb', line 7 def blacklist @blacklist end |
#enabled ⇒ Object
Returns the value of attribute enabled.
7 8 9 |
# File 'lib/defra_ruby/alert/configuration.rb', line 7 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.
7 8 9 |
# File 'lib/defra_ruby/alert/configuration.rb', line 7 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.
7 8 9 |
# File 'lib/defra_ruby/alert/configuration.rb', line 7 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 |