Class: Rightscaler::Manage::Status

Inherits:
Resource
  • Object
show all
Defined in:
lib/rightscaler/manage/status.rb

Constant Summary

Constants inherited from Resource

Resource::API_VERSION

Instance Method Summary collapse

Methods inherited from Resource

account_id=, #id

Instance Method Details

#watch_until(desired_state, &blk) ⇒ Object



9
10
11
# File 'lib/rightscaler/manage/status.rb', line 9

def watch_until(desired_state, &blk)
  _watch_until(description, :state, [desired_state], ['failed', 'aborted'], &blk)
end