Class: CanvasSync::Jobs::SyncSubmissionsJob
- Inherits:
-
ReportStarter
- Object
- ActiveJob::Base
- CanvasSync::Job
- ReportStarter
- CanvasSync::Jobs::SyncSubmissionsJob
- Defined in:
- lib/canvas_sync/jobs/sync_submissions_job.rb
Instance Attribute Summary
Attributes inherited from CanvasSync::Job
Instance Method Summary collapse
-
#perform(options) ⇒ Object
Syncs Submissions.
Methods inherited from CanvasSync::Job
#create_job_log, #report_checker_wait_time, #update_or_create_model
Instance Method Details
#perform(options) ⇒ Object
Syncs Submissions
Starts a report processor for the submission report (the proserv_student_submissions_csv report must be enabled)
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/canvas_sync/jobs/sync_submissions_job.rb', line 10 def perform() super( "proserv_student_submissions_csv", merge_report_params(, { include_all: [:include_all], enrollment_batch_size: [:enrollment_batch_size], include_all_except: [:include_all_except] }, {}), CanvasSync::Processors::SubmissionsProcessor.to_s, {}, ) end |