Class: LMSGraphQL::Mutations::Canvas::ExportContentCourse

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

Instance Method Summary collapse

Instance Method Details

#resolve(course_id:, export_type:, skip_notifications: nil, select: nil) ⇒ Object



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/lms_graphql/mutations/canvas/export_content_courses.rb', line 12

def resolve(course_id:, export_type:, skip_notifications: nil, select: nil)
  ctx[:canvas_api].proxy(
    "EXPORT_CONTENT_COURSES",
    {
      "course_id": course_id,
      "export_type": export_type,
      "skip_notifications": skip_notifications,
      "select": select            },
    nil,
  ).parsed_response
end