Sha256: dca736fc9987bae60913bba49c7f61a8c3017d7f3b7de55fedf49ef9ae8bfc2e
Contents?: true
Size: 841 Bytes
Versions: 30
Compression:
Stored size: 841 Bytes
Contents
module CanvasSync module Jobs class SyncAssignmentsJob < ReportStarter # Syncs Assignments # # Starts a report processor for the assignment report # (the proserv_assignment_export_csv report must be enabled) # # @param job_chain [Hash] # @param options [Hash] def perform(job_chain, _options) report_params = if job_chain[:global_options][:canvas_term_id].present? { "parameters[enrollment_term_id]" => job_chain[:global_options][:canvas_term_id] } else {} end super( job_chain, "proserv_assignment_export_csv", report_params, CanvasSync::Processors::AssignmentsProcessor.to_s, {}, ) end end end end
Version data entries
30 entries across 30 versions & 1 rubygems