Method: Fog::Compute::Ninefold::Address#ready?

Defined in:
lib/fog/ninefold/models/compute/address.rb

#ready?Boolean

Returns:

  • (Boolean)


61
62
63
64
65
66
67
68
# File 'lib/fog/ninefold/models/compute/address.rb', line 61

def ready?
  if jobid && connection.query_async_job_result(:jobid => jobid)['jobstatus'] == 0
    false
  else # No running job, we are ready. Refresh data.
    reload
    true
  end
end