Sha256: c1b120244f9298025e43769054647839901505c77f85c45c22b7fc96c1cb7618

Contents?: true

Size: 354 Bytes

Versions: 4

Compression:

Stored size: 354 Bytes

Contents

require 'roo'
require 'GenSheet'

module Gaku::Importers::Students
  class RosterWorker
    include Sidekiq::Worker
    sidekiq_options retry: false

    def perform(file_id)
      file = Gaku::ImportFile.find file_id
      if file
        Gaku::Importers::Students::Roster.new(file, logger)
      else
        raise 'NO FILE'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gaku-0.0.2 core/app/workers/gaku/importers/students/roster_worker.rb
gaku_core-0.0.2 app/workers/gaku/importers/students/roster_worker.rb
gaku-0.0.1 core/app/workers/gaku/importers/students/roster_worker.rb
gaku_core-0.0.1 app/workers/gaku/importers/students/roster_worker.rb