Class: CanvasSync::Processors::RubricAssociationsProcessor
- Inherits:
-
ReportProcessor
- Object
- ReportProcessor
- CanvasSync::Processors::RubricAssociationsProcessor
- Defined in:
- lib/canvas_sync/processors/rubric_associations_processor.rb
Overview
Processes a rubric association report using the bulk importer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(report_file_path, options) ⇒ RubricAssociationsProcessor
constructor
A new instance of RubricAssociationsProcessor.
Methods inherited from ReportProcessor
#do_bulk_import, #mapping, #mapping_for
Constructor Details
#initialize(report_file_path, options) ⇒ RubricAssociationsProcessor
Returns a new instance of RubricAssociationsProcessor.
14 15 16 |
# File 'lib/canvas_sync/processors/rubric_associations_processor.rb', line 14 def initialize(report_file_path, ) do_bulk_import(report_file_path, RubricAssociation, options: ) end |
Class Method Details
.process(report_file_path, _options, report_id) ⇒ Object
10 11 12 |
# File 'lib/canvas_sync/processors/rubric_associations_processor.rb', line 10 def self.process(report_file_path, , report_id) new(report_file_path, ) end |