Fog::Ecloud::Collection
# 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
# 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.