Sha256: cf31b3d884b04b28c0bdc4e48a54021a333f97f2ebc74427e43655a47e970f95
Contents?: true
Size: 679 Bytes
Versions: 42
Compression:
Stored size: 679 Bytes
Contents
require_relative "./report_processor" module CanvasSync module Processors # Processes a assignment_groups report using the bulk importer. # # @param report_file_path [String] # @param options [Hash] class AssignmentGroupsProcessor < ReportProcessor def self.process(report_file_path, _options, report_id) new(report_file_path) end def initialize(report_file_path) CanvasSync::Importers::BulkImporter.import( report_file_path, mapping[:assignment_groups][:report_columns], AssignmentGroup, mapping[:assignment_groups][:conflict_target].to_sym, ) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems