Class: LMSGraphQL::Mutations::Canvas::UpdateMultiplePreferencesType
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::UpdateMultiplePreferencesType
- Defined in:
- lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb
Instance Method Summary collapse
Instance Method Details
#resolve(type:, address:, notification_preferences__X__frequency:) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/lms_graphql/mutations/canvas/update_multiple_preferences_type.rb', line 14 def resolve(type:, address:, notification_preferences__X__frequency:) context[:canvas_api].call("UPDATE_MULTIPLE_PREFERENCES_TYPE").proxy( "UPDATE_MULTIPLE_PREFERENCES_TYPE", { "type": type, "address": address }, { "notification_preferences[<X>][frequency]": notification_preferences__X__frequency }, ).parsed_response end |