Sha256: 3a4910ff5b902ec0bef7164f4ccb05aa23fc83ba9079803ae51e5663c26eee58

Contents?: true

Size: 522 Bytes

Versions: 81

Compression:

Stored size: 522 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, _options)
      end

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

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.8 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.6 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.5 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.4 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.3 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.2 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.1 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta8 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta7 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta6 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta5 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta4 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta3 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta2 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.22.0.beta1 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.21.1 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.21.1.beta1 lib/canvas_sync/processors/assignments_processor.rb
canvas_sync-0.21.0 lib/canvas_sync/processors/assignments_processor.rb