Class: LMSGraphQL::Mutations::Canvas::DeleteCommunicationChannelType

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/delete_communication_channel_type.rb

Instance Method Summary collapse

Instance Method Details

#resolve(user_id:, type:, address:) ⇒ Object



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

def resolve(user_id:, type:, address:)
  ctx[:canvas_api].proxy(
    "DELETE_COMMUNICATION_CHANNEL_TYPE",
    {
      "user_id": user_id,
      "type": type,
      "address": address            },
    nil,
  ).parsed_response
end