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