Method: Runcible::Resources::TaskGroup#cancel

Defined in:
lib/runcible/resources/task_group.rb

#cancel(id) ⇒ RestClient::Response

cancel a task group

Parameters:

  • id (String)

    the id of the task

Returns:

  • (RestClient::Response)


39
40
41
# File 'lib/runcible/resources/task_group.rb', line 39

def cancel(id)
  call(:delete, path(id))
end