Class: Capistrano::ASG::Rolling::AutoscaleGroup::InstanceRefreshStatus
- Inherits:
-
Struct
- Object
- Struct
- Capistrano::ASG::Rolling::AutoscaleGroup::InstanceRefreshStatus
- Defined in:
- lib/capistrano/asg/rolling/autoscale_group.rb
Instance Attribute Summary collapse
-
#percentage_complete ⇒ Object
Returns the value of attribute percentage_complete.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#percentage_complete ⇒ Object
Returns the value of attribute percentage_complete
88 89 90 |
# File 'lib/capistrano/asg/rolling/autoscale_group.rb', line 88 def percentage_complete @percentage_complete end |
#status ⇒ Object
Returns the value of attribute status
88 89 90 |
# File 'lib/capistrano/asg/rolling/autoscale_group.rb', line 88 def status @status end |
Instance Method Details
#completed? ⇒ Boolean
89 90 91 |
# File 'lib/capistrano/asg/rolling/autoscale_group.rb', line 89 def completed? COMPLETED_REFRESH_STATUSES.include?(status) end |
#failed? ⇒ Boolean
93 94 95 |
# File 'lib/capistrano/asg/rolling/autoscale_group.rb', line 93 def failed? status == FAILED_REFRESH_STATUS end |