class LMSGraphQL::Mutations::Canvas::DeleteCalendarEvent

Public Instance Methods

resolve(id:, cancel_reason: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/delete_calendar_event.rb, line 13
def resolve(id:, cancel_reason: nil)
  context[:canvas_api].call("DELETE_CALENDAR_EVENT").proxy(
    "DELETE_CALENDAR_EVENT",
    {
      "id": id,
      "cancel_reason": cancel_reason
    },
    {},
  ).parsed_response
end