Module: XenAPI::Task

Included in:
Session
Defined in:
lib/xenapi/task.rb

Instance Method Summary collapse

Instance Method Details

#task_create(name, description = "Task creation") ⇒ Object



12
13
14
# File 'lib/xenapi/task.rb', line 12

def task_create(name, description="Task creation")
  self.task.create(name, description)
end

#task_destroy(ref) ⇒ Object



8
9
10
# File 'lib/xenapi/task.rb', line 8

def task_destroy(ref)
  self.task.destroy ref
end

#task_record(ref) ⇒ Object



4
5
6
# File 'lib/xenapi/task.rb', line 4

def task_record(ref)
  self.task.get_record ref
end