class LMSGraphQL::Mutations::Canvas::UpdatePreferenceType
Public Instance Methods
resolve(type:, address:, notification:, notification_preferences_frequency:)
click to toggle source
# File lib/lms_graphql/mutations/canvas/update_preference_type.rb, line 15 def resolve(type:, address:, notification:, notification_preferences_frequency:) context[:canvas_api].call("UPDATE_PREFERENCE_TYPE").proxy( "UPDATE_PREFERENCE_TYPE", { "type": type, "address": address, "notification": notification }, { "notification_preferences[frequency]": notification_preferences_frequency }, ).parsed_response end