Class: CanvasSync::Jobs::SyncContextModuleItemsJob

Inherits:
ReportStarter show all
Defined in:
lib/canvas_sync/jobs/sync_context_module_items_job.rb

Instance Attribute Summary

Attributes inherited from CanvasSync::Job

#job_log

Instance Method Summary collapse

Methods inherited from CanvasSync::Job

#create_job_log, #report_checker_wait_time, #update_or_create_model

Instance Method Details

#perform(options) ⇒ Object

Syncs ContextModuleItems

Starts a report processor for the context modules report (the proserv_context_module_items_csv report must be enabled)

Parameters:

  • options (Hash)


10
11
12
13
14
15
16
17
# File 'lib/canvas_sync/jobs/sync_context_module_items_job.rb', line 10

def perform(options)
  super(
    "proserv_context_module_items_csv",
    merge_report_params(options),
    CanvasSync::Processors::ContextModuleItemsProcessor.to_s,
    {},
  )
end