Class: SubmissionBuilderJob

Inherits:
Struct
  • Object
show all
Defined in:
app/jobs/submission_builder_job.rb

Overview

Triggers the building of the submission

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#submission_idObject

Returns the value of attribute submission_id

Returns:

  • (Object)

    the current value of submission_id


2
3
4
# File 'app/jobs/submission_builder_job.rb', line 2

def submission_id
  @submission_id
end

Instance Method Details

#performObject


3
4
5
# File 'app/jobs/submission_builder_job.rb', line 3

def perform
  Submission.find(submission_id).build_batch
end