Class: PickListJob

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

Overview

Triggers the building of the submission

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pick_list_idObject

Returns the value of attribute pick_list_id

Returns:

  • (Object)

    the current value of pick_list_id


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

def pick_list_id
  @pick_list_id
end

Instance Method Details

#performObject


5
6
7
# File 'app/jobs/pick_list_job.rb', line 5

def perform
  PickList.find(pick_list_id).process_immediately
end