Sha256: 99ee43a5d813fd5aded0284ff4b5e8a704f34a261e50b7fe7fa0e09144118caa
Contents?: true
Size: 652 Bytes
Versions: 42
Compression:
Stored size: 652 Bytes
Contents
require_relative "./report_processor" module CanvasSync module Processors # Processes an assignments report using the bulk importer. # # @param report_file_path [String] # @param options [Hash] class AssignmentsProcessor < 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[:assignments][:report_columns], Assignment, mapping[:assignments][:conflict_target].to_sym, ) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems