Class: LMSGraphQL::Mutations::Canvas::GroupsPreviewProcessedHtml

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

Instance Method Summary collapse

Instance Method Details

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



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

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