Class: LMSGraphQL::Resolvers::Canvas::GetPreferenceCommunicationChannelId
- Inherits:
-
CanvasBaseResolver
- Object
- GraphQL::Schema::Resolver
- CanvasBaseResolver
- LMSGraphQL::Resolvers::Canvas::GetPreferenceCommunicationChannelId
- Defined in:
- lib/lms_graphql/resolvers/canvas/get_preference_communication_channel_id.rb
Instance Method Summary collapse
Instance Method Details
#resolve(user_id:, communication_channel_id:, notification:) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/lms_graphql/resolvers/canvas/get_preference_communication_channel_id.rb', line 11 def resolve(user_id:, communication_channel_id:, notification:) context[:canvas_api].call("GET_PREFERENCE_COMMUNICATION_CHANNEL_ID").proxy( "GET_PREFERENCE_COMMUNICATION_CHANNEL_ID", { "user_id": user_id, "communication_channel_id": communication_channel_id, "notification": notification }, nil, ).parsed_response end |