Class: LMSGraphQL::Mutations::Canvas::CoursesPreviewProcessedHtml

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb

Instance Method Summary collapse

Instance Method Details

#resolve(course_id:, html: nil) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb', line 10

def resolve(course_id:, html: nil)
  ctx[:canvas_api].proxy(
    "COURSES_PREVIEW_PROCESSED_HTML",
    {
      "course_id": course_id,
      "html": html            },
    nil,
  ).parsed_response
end