Class: Contrast::Agent::Reporting::Settings::VirtualPatchCondition
- 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
- #evaluation ⇒ String readonly
- #input_type ⇒ String readonly
- #name ⇒ String readonly
- #value ⇒ String readonly
Instance Method Summary collapse
- #headers ⇒ Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>
-
#initialize(hash) ⇒ VirtualPatchCondition
constructor
A new instance of VirtualPatchCondition.
- #parameters ⇒ Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>
- #urls ⇒ Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>
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
#evaluation ⇒ String (readonly)
20 21 22 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 20 def evaluation @evaluation end |
#input_type ⇒ String (readonly)
18 19 20 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 18 def input_type @input_type end |
#name ⇒ String (readonly)
14 15 16 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 14 def name @name end |
#value ⇒ String (readonly)
16 17 18 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 16 def value @value end |
Instance Method Details
#headers ⇒ Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>
30 31 32 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 30 def headers @_headers ||= [] end |
#parameters ⇒ Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>
35 36 37 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 35 def parameters @_parameters ||= [] end |
#urls ⇒ Array<Contrast::Agent::Reporting::Settings::VirtualPatchCondition>
40 41 42 |
# File 'lib/contrast/agent/reporting/settings/virtual_patch_condition.rb', line 40 def urls @_urls ||= [] end |