Class: LMS::GraphQL::Resolvers::Canvas::GetCustomColor

Inherits:
CanvasBaseResolver
  • Object
show all
Defined in:
lib/lms/graphql/resolvers/canvas/get_custom_color.rb,
lib/lms/graphql/resolvers/canvas/get_custom_colors.rb

Instance Method Summary collapse

Instance Method Details

#resolve(id:) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/lms/graphql/resolvers/canvas/get_custom_color.rb', line 11

def resolve(id:, asset_string:)
  context[:canvas_api].proxy(
    "GET_CUSTOM_COLOR",
    {
      "id": id,
      "asset_string": asset_string              },
    nil,
  ).parsed_response
end