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