1
0
Fork 0
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:
dJason 2014-02-10 10:54:14 -07:00
parent 95aad91fba
commit c990effd49

View file

@ -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