Sha256: fb5ccecf95b5adc8a692bff3e199d108875112f0e0bb05fa8171fe9f6af38853
Contents?: true
Size: 640 Bytes
Versions: 24
Compression:
Stored size: 640 Bytes
Contents
require_relative "./report_processor" module CanvasSync module Processors # Processes a submissions report using the bulk importer. # # @param report_file_path [String] # @param options [Hash] class SubmissionsProcessor < 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[:submissions][:report_columns], Submission, mapping[:submissions][:conflict_target].to_sym, ) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems