Class: LinearToonMcp::Tools::DeleteComment

Inherits:
Delete
  • Object
show all
Defined in:
lib/linear_toon_mcp/tools/delete_comment.rb

Overview

Delete a comment by id.

Constant Summary collapse

MUTATION =
<<~GRAPHQL
  mutation($id: String!) {
    commentDelete(id: $id) { success entityId }
  }
GRAPHQL

Instance Method Summary collapse

Methods inherited from Delete

entity, entity_label, entity_name, label, mutation, mutation_name, mutation_string, #perform

Methods inherited from Base

call, #call, error_response, #perform, success_response

Instance Method Details

#variables(id:) ⇒ Object



29
30
31
# File 'lib/linear_toon_mcp/tools/delete_comment.rb', line 29

def variables(id:)
  {id: id}
end