class LMSGraphQL::Mutations::Canvas::BeginMigrationToPushToAssociatedCourse

Public Instance Methods

resolve(course_id:, template_id:, comment: nil, send_notification: nil, copy_settings: nil, publish_after_initial_sync: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/begin_migration_to_push_to_associated_courses.rb, line 17
def resolve(course_id:, template_id:, comment: nil, send_notification: nil, copy_settings: nil, publish_after_initial_sync: nil)
  context[:canvas_api].call("BEGIN_MIGRATION_TO_PUSH_TO_ASSOCIATED_COURSES").proxy(
    "BEGIN_MIGRATION_TO_PUSH_TO_ASSOCIATED_COURSES",
    {
      "course_id": course_id,
      "template_id": template_id
    },
    {
      "comment": comment,
      "send_notification": send_notification,
      "copy_settings": copy_settings,
      "publish_after_initial_sync": publish_after_initial_sync
    },
  ).parsed_response
end