Sha256: 650c4de0f139642d698aaffb7b73fffd45f4131152f2d07238228ab410e2271e
Contents?: true
Size: 859 Bytes
Versions: 1
Compression:
Stored size: 859 Bytes
Contents
module CanvasSync module Jobs class SyncAssignmentGroupsJob < ReportStarter # Syncs AssignmentGroups # # Starts a report processor for the assignment_groups report # (the proserv_assignment_group_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? { enrollment_term_id: job_chain[:global_options][:canvas_term_id] } else {} end super( job_chain, "proserv_assignment_group_export_csv", report_params, CanvasSync::Processors::AssignmentGroupsProcessor.to_s, {}, ) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
canvas_sync-0.3.21 | lib/canvas_sync/jobs/sync_assignment_groups_job.rb |