module Taskworld::Endpoints::Checklist
Public Instance Methods
checklist_add_item(task_id:, title:, **options)
click to toggle source
# File lib/taskworld/endpoints/checklist.rb, line 4 def checklist_add_item(task_id:, title:, **options) post('checklist.add-item', options.merge(task_id: task_id, title: title)) end
checklist_delete_item(task_id:, checklist_item_id:, **options)
click to toggle source
# File lib/taskworld/endpoints/checklist.rb, line 8 def checklist_delete_item(task_id:, checklist_item_id:, **options) post('checklist.delete-item', options.merge(task_id: task_id, checklist_item_id: checklist_item_id)) end
checklist_update_item(task_id:, checklist_item_id:, **options)
click to toggle source
# File lib/taskworld/endpoints/checklist.rb, line 12 def checklist_update_item(task_id:, checklist_item_id:, **options) post('checklist.update-item', options.merge(task_id: task_id, checklist_item_id: checklist_item_id)) end