• Jump To … +
    bcx.rb http.rb oauth.rb configuration.rb oauth.rb access.rb authorization.rb comment.rb person.rb project.rb todo.rb todolist.rb response_error.rb version.rb
  • comment.rb

  • ¶

    Comments

    Provides access to comments resource on todo or todolist level

    Create a new todolist comment

    POST /projects/123/todolist/456/comments.json

    client.projects(123).todolists(456).comments.create!(content: 'New comment')
    

    Create a new todo comment

    POST /projects/123/todo/456/comments.json

    client.projects(123).todos(456).comments.create!(content: 'New comment')
    

    Delete the comment

    DELETE /projects/123/comments/456.json

    client.projects(123).comments(456).delete!
    
    module Bcx
      module Resources
        class Comment < Rapidash::Base
        end
      end
    end