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