Class: CanvasSync::Processors::ReportProcessor
- Inherits:
-
Object
- Object
- CanvasSync::Processors::ReportProcessor
show all
- Defined in:
- lib/canvas_sync/processors/report_processor.rb
Overview
Base report processing class
Direct Known Subclasses
AssignmentGroupsProcessor, AssignmentOverridesProcessor, AssignmentsProcessor, ContentMigrationsProcessor, ContextModuleItemsProcessor, ContextModulesProcessor, CourseCompletionReportProcessor, NormalProcessor, ProvisioningReportProcessor, RubricAssessmentsProcessor, RubricAssociationsProcessor, RubricsProcessor, SubmissionsProcessor
Instance Method Summary
collapse
Instance Method Details
#do_bulk_import(report_file_path, model, options: {}, mapping_key: nil, &blk) ⇒ Object
15
16
17
18
19
20
21
22
23
|
# File 'lib/canvas_sync/processors/report_processor.rb', line 15
def do_bulk_import(report_file_path, model, options: {}, mapping_key: nil, &blk)
CanvasSync::Importers::BulkImporter.import(
report_file_path,
model,
mapping_for(model, mapping_key),
import_args: options,
&blk
)
end
|
#mapping_for(model, key = nil) ⇒ Object