Sha256: b1ea233b1e6d10c2efedeff6fb898758782734d835cf0960c4b64e158854bdb7

Contents?: true

Size: 618 Bytes

Versions: 18

Compression:

Stored size: 618 Bytes

Contents

module CanvasSync
  module Jobs
    class SyncSubmissionsJob < ReportStarter
      # Syncs Submissions
      #
      # Starts a report processor for the submission report
      # (the proserv_student_submissions_csv report must be enabled)
      #
      # @param options [Hash]
      def perform(options)
        super(
          "proserv_student_submissions_csv",
          merge_report_params(options, { include_all: options[:include_all], enrollment_batch_size: options[:enrollment_batch_size] }, {}),
          CanvasSync::Processors::SubmissionsProcessor.to_s,
          {},
        )
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
canvas_sync-0.18.3 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.2 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.1 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.0.beta2 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.0.beta1 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.43 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.42 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.41 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.40 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.39 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.38 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.37 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.36 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.35 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.34 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.33 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.32 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.17.31 lib/canvas_sync/jobs/sync_submissions_job.rb