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