Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::Tasks

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.