class LMSGraphQL::Mutations::Canvas::DeleteCommunicationChannelType

Public Instance Methods

resolve(user_id:, type:, address:) click to toggle source
# File lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb, line 14
def resolve(user_id:, type:, address:)
  context[:canvas_api].call("DELETE_COMMUNICATION_CHANNEL_TYPE").proxy(
    "DELETE_COMMUNICATION_CHANNEL_TYPE",
    {
      "user_id": user_id,
      "type": type,
      "address": address
    },
    {},
  ).parsed_response
end