class Fog::Vcloud::Compute::Tasks
Public Instance Methods
all()
click to toggle source
# File lib/fog/vcloud/models/compute/tasks.rb, line 11 def all self.href = service.default_vdc_href unless self.href check_href! if data = service.get_task_list(href).body[:Task] load(data) end end
get(uri)
click to toggle source
# File lib/fog/vcloud/models/compute/tasks.rb, line 19 def get(uri) service.get_task(uri) rescue Fog::Errors::NotFound nil end