Sha256: 9cd25c63449cdde80269739394e6e093916f4e03db5fe7ed3396fa59659e9ea8

Contents?: true

Size: 714 Bytes

Versions: 46

Compression:

Stored size: 714 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],
            include_all_except: options[:include_all_except]
          }, {}),
          CanvasSync::Processors::SubmissionsProcessor.to_s,
          {},
        )
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
canvas_sync-0.22.6 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.5 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.4 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.3 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.2 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.1 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta8 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta7 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta6 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta5 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta4 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta3 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta2 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.22.0.beta1 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.21.1 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.21.1.beta1 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.21.0 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.21.0.beta5 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.21.0.beta4 lib/canvas_sync/jobs/sync_submissions_job.rb