1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fixed ready? in server model, minor formatting change in servers

This commit is contained in:
James W. Brinkerhoff 2011-02-11 13:04:05 -05:00 committed by geemus
parent f24fdb028e
commit 138ea7cd94
2 changed files with 1 additions and 2 deletions

View file

@ -36,7 +36,7 @@ module Fog
end
def ready?
@status == 'SUCCEEDED'
status == 'SUCCEEDED'
end
def save

View file

@ -33,7 +33,6 @@ module Fog
else
status = connection.voxcloud_status(device_id)
server.first[:status] = status.first[:status]
new(server.first)
end
end