Sha256: 6d3c263d8cedb9359086673f307949f02e52dfa2cb3be864688eeee2348472c4
Contents?: true
Size: 669 Bytes
Versions: 42
Compression:
Stored size: 669 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, report_id) 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
42 entries across 42 versions & 1 rubygems