Class: LMSGraphQL::Mutations::Canvas::CoursesPreviewProcessedHtml
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::CoursesPreviewProcessedHtml
- 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
13 14 15 16 17 18 19 20 21 22 23 |
# 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 |