class LMSGraphQL::Mutations::Canvas::CoursesPreviewProcessedHtml

Public Instance Methods

resolve(course_id:, html: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/courses_preview_processed_html.rb, line 13
def resolve(course_id:, html: nil)
  context[:canvas_api].call("COURSES_PREVIEW_PROCESSED_HTML").proxy(
    "COURSES_PREVIEW_PROCESSED_HTML",
    {
      "course_id": course_id
    },
    {
      "html": html
    },
  ).parsed_response
end