Class: LMS::GraphQL::Resolvers::Canvas::GetPreferenceCommunicationChannelId
- Inherits:
-
CanvasBaseResolver
- Object
- GraphQL::Schema::Resolver
- CanvasBaseResolver
- LMS::GraphQL::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
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/lms/graphql/resolvers/canvas/get_preference_communication_channel_id.rb', line 12 def resolve(user_id:, communication_channel_id:, notification:) context[:canvas_api].proxy( "GET_PREFERENCE_COMMUNICATION_CHANNEL_ID", { "user_id": user_id, "communication_channel_id": communication_channel_id, "notification": notification }, nil, ).parsed_response end |