Class: Contrast::Agent::Assess::Events::EventData
- Defined in:
- lib/contrast/agent/assess/events/event_data.rb
Overview
this class will gather and build event
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#policy_node ⇒ Object
readonly
Returns the value of attribute policy_node.
-
#ret ⇒ Object
readonly
Returns the value of attribute ret.
-
#tagged ⇒ Object
readonly
Returns the value of attribute tagged.
Instance Method Summary collapse
-
#initialize(policy_node, tagged, object, ret, args) ⇒ EventData
constructor
Group event data together.
Constructor Details
#initialize(policy_node, tagged, object, ret, args) ⇒ EventData
Group event data together
19 20 21 22 23 24 25 |
# File 'lib/contrast/agent/assess/events/event_data.rb', line 19 def initialize policy_node, tagged, object, ret, args @policy_node = policy_node @tagged = tagged @object = object @ret = ret @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
10 11 12 |
# File 'lib/contrast/agent/assess/events/event_data.rb', line 10 def args @args end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
10 11 12 |
# File 'lib/contrast/agent/assess/events/event_data.rb', line 10 def object @object end |
#policy_node ⇒ Object (readonly)
Returns the value of attribute policy_node.
10 11 12 |
# File 'lib/contrast/agent/assess/events/event_data.rb', line 10 def policy_node @policy_node end |
#ret ⇒ Object (readonly)
Returns the value of attribute ret.
10 11 12 |
# File 'lib/contrast/agent/assess/events/event_data.rb', line 10 def ret @ret end |
#tagged ⇒ Object (readonly)
Returns the value of attribute tagged.
10 11 12 |
# File 'lib/contrast/agent/assess/events/event_data.rb', line 10 def tagged @tagged end |