mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
adding ready? method
Conflicts: lib/fog/vcloud_director/models/compute/vm.rb
This commit is contained in:
parent
fd2f487aa0
commit
20bd78ac98
1 changed files with 5 additions and 0 deletions
|
@ -126,6 +126,11 @@ module Fog
|
|||
end
|
||||
end
|
||||
|
||||
def ready?
|
||||
reload
|
||||
status == 'on'
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue