Module: AsyncProcessing

Extended by:
ActiveSupport::Concern
Defined in:
app/uploaders/async_processing.rb

Instance Method Summary collapse

Instance Method Details

#process_file(_file) ⇒ Object



10
11
12
# File 'app/uploaders/async_processing.rb', line 10

def process_file(_file)
  ProcessFileJob.perform_async(self.class::PROCESSING_CLASS.to_s, store_dir, filename)
end