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.



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

def initialize
  @blocklist = []
  @enabled = false
end

Instance Attribute Details

#blocklistObject

Returns the value of attribute blocklist.



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

def blocklist
  @blocklist
end

#enabledObject

Returns the value of attribute enabled.



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

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.



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

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.



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

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