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