Class: LMS::GraphQL::Mutations::Canvas::DeleteMessage
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::DeleteMessage
- Defined in:
- lib/lms/graphql/mutations/canvas/delete_message.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, remove:) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/lms/graphql/mutations/canvas/delete_message.rb', line 11 def resolve(id:, remove:) ctx[:canvas_api].proxy( "DELETE_MESSAGE", { "id": id, "remove": remove }, nil, ).parsed_response end |