Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::VcloudDirector::Tasks

Public Instance Methods

get(id) click to toggle source
# File lib/fog/vcloud_director/models/compute/tasks.rb, line 12
def get(id)
  data = service.get_task(id).body
  return nil unless data
  data[:id] = data[:href].split('/').last
  data[:progress] ||= 0
  new(data)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.