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