Class: CanvasSync::Jobs::SyncContextModuleItemsJob

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

Instance Method Summary collapse

Methods inherited from CanvasSync::Job

#create_job_log, #report_checker_wait_time, #update_or_create_model

Instance Method Details

#perform(job_chain, options) ⇒ Object

Syncs ContextModuleItems

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

Parameters:

  • job_chain (Hash)
  • options (Hash)


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

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