Method: Runcible::Resources::Task.list

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

.list(tags = []) ⇒ RestClient::Response

List all tasks based on a set of tags

Parameters:

  • tags (Array) (defaults to: [])

    array of tags to scope the list on

Returns:

  • (RestClient::Response)


60
61
62
# File 'lib/runcible/resources/task.rb', line 60

def self.list(tags=[])
  call(:get, path, :params=>{:tag=>tags})
end