Class: OpsWorker::DeploymentStatus
- Inherits:
-
Object
- Object
- OpsWorker::DeploymentStatus
- Defined in:
- lib/ops_worker/deployment_status.rb
Instance Method Summary collapse
-
#initialize(id, opsworks_client) ⇒ DeploymentStatus
constructor
A new instance of DeploymentStatus.
- #status ⇒ Object
Constructor Details
#initialize(id, opsworks_client) ⇒ DeploymentStatus
Returns a new instance of DeploymentStatus.
3 4 5 6 |
# File 'lib/ops_worker/deployment_status.rb', line 3 def initialize(id, opsworks_client) @id = id @opsworks_client = opsworks_client end |
Instance Method Details
#status ⇒ Object
8 9 10 |
# File 'lib/ops_worker/deployment_status.rb', line 8 def status commands().map {|c| c[:status] } end |