Class: Contrast::Agent::Reporting::Settings::VirtualPatchCondition

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

Overview

The settings for each virtual patch condition in the agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ VirtualPatchCondition

Returns a new instance of VirtualPatchCondition.



22
23
24
25
26
27
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 22

def initialize hash
  @name = hash[:name]
  @value = hash[:value]
  @input_type = hash[:input_type]
  @evaluation = hash[:evaluation]
end

Instance Attribute Details

#evaluationString (readonly)

Returns:



20
21
22
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 20

def evaluation
  @evaluation
end

#input_typeString (readonly)

Returns:



18
19
20
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 18

def input_type
  @input_type
end

#nameString (readonly)

Returns:



14
15
16
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 14

def name
  @name
end

#valueString (readonly)

Returns:



16
17
18
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 16

def value
  @value
end

Instance Method Details

#headersArray<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>



30
31
32
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 30

def headers
  @_headers ||= []
end

#parametersArray<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>



35
36
37
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 35

def parameters
  @_parameters ||= []
end

#urlsArray<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>



40
41
42
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 40

def urls
  @_urls ||= []
end