Class: RightScale::RepositoriesBundle
- Includes:
- Serializable
- Defined in:
- lib/right_agent/core_payload_types/repositories_bundle.rb
Overview
Software repositories together with audit id The instance agent can use the audit created by the core agent to audit messages associated with the processing of the software repositories
Instance Attribute Summary collapse
-
#audit_id ⇒ Object
(Integer) ID of corresponding audit entry.
-
#repositories ⇒ Object
(Array) Repositories instantiations.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RepositoriesBundle
constructor
A new instance of RepositoriesBundle.
-
#serialized_members ⇒ Object
Array of serialized fields given to constructor.
Methods included from Serializable
Constructor Details
#initialize(*args) ⇒ RepositoriesBundle
Returns a new instance of RepositoriesBundle.
39 40 41 42 |
# File 'lib/right_agent/core_payload_types/repositories_bundle.rb', line 39 def initialize(*args) @repositories = args[0] @audit_id = args[1] end |
Instance Attribute Details
#audit_id ⇒ Object
(Integer) ID of corresponding audit entry
37 38 39 |
# File 'lib/right_agent/core_payload_types/repositories_bundle.rb', line 37 def audit_id @audit_id end |
#repositories ⇒ Object
(Array) Repositories instantiations
34 35 36 |
# File 'lib/right_agent/core_payload_types/repositories_bundle.rb', line 34 def repositories @repositories end |
Instance Method Details
#serialized_members ⇒ Object
Array of serialized fields given to constructor
45 46 47 |
# File 'lib/right_agent/core_payload_types/repositories_bundle.rb', line 45 def serialized_members [ @repositories, @audit_id ] end |