Class: RecallImportJob

Inherits:
Struct
  • Object
show all
Defined in:
app/models/job/recall_import_job.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#import_idObject

Returns the value of attribute import_id

Returns:

  • (Object)

    the current value of import_id



1
2
3
# File 'app/models/job/recall_import_job.rb', line 1

def import_id
  @import_id
end

Instance Method Details

#performObject



2
3
4
# File 'app/models/job/recall_import_job.rb', line 2

def perform
  Import.find(self.import_id).recall
end