Class: LMSGraphQL::Mutations::Canvas::DeletePlannerNote

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/delete_planner_note.rb

Instance Method Summary collapse

Instance Method Details

#resolve(id:) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/lms_graphql/mutations/canvas/delete_planner_note.rb', line 12

def resolve(id:)
  context[:canvas_api].call("DELETE_PLANNER_NOTE").proxy(
    "DELETE_PLANNER_NOTE",
    {
      "id": id
    },
    {},
  ).parsed_response
end