class LMSGraphQL::Resolvers::Canvas::ListOfPreferenceCategory
Public Instance Methods
resolve(user_id:, communication_channel_id:, get_all: false)
click to toggle source
# File lib/lms_graphql/resolvers/canvas/list_of_preference_categories.rb, line 10 def resolve(user_id:, communication_channel_id:, get_all: false) result = context[:canvas_api].call("LIST_OF_PREFERENCE_CATEGORIES").proxy( "LIST_OF_PREFERENCE_CATEGORIES", { "user_id": user_id, "communication_channel_id": communication_channel_id }, nil, get_all, ) get_all ? result : result.parsed_response end