class LMSGraphQL::Mutations::Canvas::UpdatePlannernote

Public Instance Methods

resolve(id:, title: nil, details: nil, todo_date: nil, course_id: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/update_plannernote.rb, line 13
def resolve(id:, title: nil, details: nil, todo_date: nil, course_id: nil)
  context[:canvas_api].call("UPDATE_PLANNERNOTE").proxy(
    "UPDATE_PLANNERNOTE",
    {
      "id": id,
      "title": title,
      "details": details,
      "todo_date": todo_date,
      "course_id": course_id            },
    nil,
  ).parsed_response
end