Class: LMS::GraphQL::Mutations::Canvas::UpdateMultiplePreferencesCommunicationChannelId
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::UpdateMultiplePreferencesCommunicationChannelId
- Defined in:
- lib/lms/graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb
Instance Method Summary collapse
Instance Method Details
#resolve(communication_channel_id:, notification_preferences__x__frequency:) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/lms/graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb', line 11 def resolve(communication_channel_id:, notification_preferences__x__frequency:) ctx[:canvas_api].proxy( "UPDATE_MULTIPLE_PREFERENCES_COMMUNICATION_CHANNEL_ID", { "communication_channel_id": communication_channel_id, "notification_preferences[<X>][frequency]": notification_preferences__x__frequency }, nil, ).parsed_response end |