Class: DefraRuby::Alert::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/defra_ruby/alert/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#blacklistObject

Returns the value of attribute blacklist.



7
8
9
# File 'lib/defra_ruby/alert/configuration.rb', line 7

def blacklist
  @blacklist
end

#enabledObject

Returns the value of attribute enabled.



7
8
9
# File 'lib/defra_ruby/alert/configuration.rb', line 7

def enabled
  @enabled
end

#environmentObject

Returns the value of attribute environment.



6
7
8
# File 'lib/defra_ruby/alert/configuration.rb', line 6

def environment
  @environment
end

#hostObject

Returns the value of attribute host.



7
8
9
# File 'lib/defra_ruby/alert/configuration.rb', line 7

def host
  @host
end

#loggerObject

Returns the value of attribute logger.



6
7
8
# File 'lib/defra_ruby/alert/configuration.rb', line 6

def logger
  @logger
end

#project_keyObject

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_directoryObject

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