mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Add ready? to server class
This commit is contained in:
parent
95aad91fba
commit
c990effd49
1 changed files with 5 additions and 1 deletions
|
@ -76,6 +76,10 @@ module Fog
|
|||
service.stop_server(identity)
|
||||
end
|
||||
|
||||
def ready?
|
||||
status == "running"
|
||||
end
|
||||
|
||||
def open_vnc
|
||||
requires :identity
|
||||
service.open_vnc(identity)
|
||||
|
@ -205,4 +209,4 @@ module Fog
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue