Class: OpsWorks::Deployment
- Defined in:
- lib/opsworks/deployment.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from OpsWorks::Resource
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/opsworks/deployment.rb', line 5 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/opsworks/deployment.rb', line 5 def id @id end |
#status ⇒ Object
Returns the value of attribute status.
5 6 7 |
# File 'lib/opsworks/deployment.rb', line 5 def status @status end |
Instance Method Details
#success? ⇒ Boolean
7 8 9 |
# File 'lib/opsworks/deployment.rb', line 7 def success? status == 'successful' end |