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.18.10 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.9 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.8 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.7 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.6 lib/canvas_sync/jobs/sync_submissions_job.rb
canvas_sync-0.18.5 lib/canvas_sync/jobs/sync_submissions_job.rb