Class: Contrast::Agent::Reporting::Settings::ProtectRule

Inherits:
Object
  • Object
show all
Defined in:
lib/contrast/agent/reporting/settings/protect_rule.rb

Overview

Settings for each protect rule

Instance Attribute Summary collapse

Instance Attribute Details

#modeSymbol

Returns the configured mode of the rule; OFF, MONITOR, BLOCK.

Returns:

  • (Symbol)

    the configured mode of the rule; OFF, MONITOR, BLOCK



13
14
15
# File 'lib/contrast/agent/reporting/settings/protect_rule.rb', line 13

def mode
  @mode
end