class LMSGraphQL::Mutations::Canvas::DeleteWebhookSubscription

Public Instance Methods

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