class Fog::Compute::Ecloud::Tasks

Public Instance Methods

all() click to toggle source
# File lib/fog/ecloud/models/compute/tasks.rb, line 13
def all
  check_href!
  if data = connection.get_task_list(href).body[:Task]
    load(data)
  end
end
get(uri) click to toggle source
# File lib/fog/ecloud/models/compute/tasks.rb, line 20
def get(uri)
  if data = connection.get_task(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end