Class: RightScale::RunlistPolicy
- Includes:
- Serializable
- Defined in:
- lib/right_agent/core_payload_types/runlist_policy.rb
Instance Attribute Summary collapse
-
#audit_period ⇒ Object
Returns the value of attribute audit_period.
-
#policy_name ⇒ Object
Returns the value of attribute policy_name.
-
#thread_name ⇒ Object
Returns the value of attribute thread_name.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RunlistPolicy
constructor
Initialize fields from given arguments.
-
#serialized_members ⇒ Object
Array of serialized fields given to constructor.
Methods included from Serializable
Constructor Details
#initialize(*args) ⇒ RunlistPolicy
Initialize fields from given arguments
32 33 34 35 36 |
# File 'lib/right_agent/core_payload_types/runlist_policy.rb', line 32 def initialize(*args) @policy_name = args[0] @thread_name = args[1] @audit_period = args[2] end |
Instance Attribute Details
#audit_period ⇒ Object
Returns the value of attribute audit_period.
29 30 31 |
# File 'lib/right_agent/core_payload_types/runlist_policy.rb', line 29 def audit_period @audit_period end |
#policy_name ⇒ Object
Returns the value of attribute policy_name.
29 30 31 |
# File 'lib/right_agent/core_payload_types/runlist_policy.rb', line 29 def policy_name @policy_name end |
#thread_name ⇒ Object
Returns the value of attribute thread_name.
29 30 31 |
# File 'lib/right_agent/core_payload_types/runlist_policy.rb', line 29 def thread_name @thread_name end |
Instance Method Details
#serialized_members ⇒ Object
Array of serialized fields given to constructor
39 40 41 |
# File 'lib/right_agent/core_payload_types/runlist_policy.rb', line 39 def serialized_members [ @policy_name, @thread_name, @audit_period ] end |