# File lib/fog/ninefold/models/compute/server.rb, line 118 def ready? if jobid # we do this by polling the last job id status. res = connection.query_async_job_result(:jobid => jobid) if res['jobstatus'] == 0 false else # update with new values. merge_attributes(res['jobresult']['virtualmachine']) true end else # No running job, we are ready. Refresh data. reload true end end