Class: KanbanpadAPI::TaskList

Inherits:
Base
  • Object
show all
Includes:
APIExtentions
Defined in:
lib/kanbanpad/kanbanpad-api.rb,
lib/provider/api-extensions.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from APIExtentions

#to_ticket_hash, #update_with

Methods inherited from Base

inherited

Class Method Details

.backlog(project_id, options = {}) ⇒ Object



80
81
82
# File 'lib/kanbanpad/kanbanpad-api.rb', line 80

def self.backlog(project_id, options = {})
  find(:all, :params => options.merge(:slug => project_id), :from => :backlog)
end

.finished(project_id, options = {}) ⇒ Object



76
77
78
# File 'lib/kanbanpad/kanbanpad-api.rb', line 76

def self.finished(project_id, options = {})
  find(:all, :params => options.merge(:slug => project_id), :from => :finished)
end

Instance Method Details

#comments(options = {}) ⇒ Object



84
85
86
# File 'lib/kanbanpad/kanbanpad-api.rb', line 84

def comments(options = {})
  TaskComment.find(:all, :params => options.merge(prefix_options).update(:id => id))
end