Class: Course::Assessment::Question::ProgrammingImportJob

Inherits:
ApplicationJob
  • Object
show all
Includes:
TrackableJob
Defined in:
app/jobs/course/assessment/question/programming_import_job.rb

Instance Attribute Summary

Attributes included from TrackableJob

#job

Instance Method Summary collapse

Methods included from TrackableJob

#initialize, #job_id=, #perform, #rescue_tracked, #wait

Instance Method Details

#perform_tracked(question, attachment) ⇒ Object (protected)

Performs the import of the package contents into the question.


13
14
15
# File 'app/jobs/course/assessment/question/programming_import_job.rb', line 13

def perform_tracked(question, attachment)
  ActsAsTenant.without_tenant { perform_import(question, attachment) }
end