Class: RightScale::RepositoriesBundle

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Serializable

included

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_idObject

(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

#repositoriesObject

(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_membersObject

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