Sha256: 69af05c011f00a94108b2a23f9bd2f96c94557117d8df6f048cd58c91f4ebeb4
Contents?: true
Size: 658 Bytes
Versions: 15
Compression:
Stored size: 658 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 ContextModulesProcessor < 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_modules][:report_columns], ContextModule, mapping[:context_modules][:conflict_target].to_sym, ) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems