Sha256: 99f21380d8552fd8766af4752f28ea01d596cd4db48e230bec0b0555e545e25b

Contents?: true

Size: 540 Bytes

Versions: 26

Compression:

Stored size: 540 Bytes

Contents

require_relative "./report_processor"

module CanvasSync
  module Processors
    # Processes a rubric assessments report using the bulk importer.
    #
    # @param report_file_path [String]
    # @param options [Hash]
    class RubricAssessmentsProcessor < ReportProcessor
      def self.process(report_file_path, _options, report_id)
        new(report_file_path, _options)
      end

      def initialize(report_file_path, options)
        do_bulk_import(report_file_path, RubricAssessment, options: options)
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
canvas_sync-0.21.0.beta3 lib/canvas_sync/processors/rubric_assessments_processor.rb
canvas_sync-0.21.0.beta2 lib/canvas_sync/processors/rubric_assessments_processor.rb
canvas_sync-0.21.0.beta1 lib/canvas_sync/processors/rubric_assessments_processor.rb
canvas_sync-0.20.5 lib/canvas_sync/processors/rubric_assessments_processor.rb
canvas_sync-0.20.4 lib/canvas_sync/processors/rubric_assessments_processor.rb
canvas_sync-0.20.3 lib/canvas_sync/processors/rubric_assessments_processor.rb