Sha256: 02b15df25ca17b684cc01788bd49f858ff6c9c0d81ea9eaa8e33b2d9b5057311
Contents?: true
Size: 702 Bytes
Versions: 32
Compression:
Stored size: 702 Bytes
Contents
require_relative "./report_processor" module CanvasSync module Processors # Processes an assignments report using the bulk importer. # # @param report_file_path [String] # @param options [Hash] class AssignmentsProcessor < ReportProcessor def self.process(report_file_path, _options, report_id) new(report_file_path, _options) end def initialize(report_file_path, options) CanvasSync::Importers::BulkImporter.import( report_file_path, mapping[:assignments][:report_columns], Assignment, mapping[:assignments][:conflict_target].to_sym, import_args: options ) end end end end
Version data entries
32 entries across 32 versions & 1 rubygems