Class: Uploadcare::Rails::StoreFileJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/uploadcare/rails/jobs/store_file_job.rb

Overview

A job storing files to Uploadcare

Instance Method Summary collapse

Instance Method Details

#perform(file_uuid) ⇒ Object



9
10
11
# File 'lib/uploadcare/rails/jobs/store_file_job.rb', line 9

def perform(file_uuid)
  Uploadcare::FileApi.store_file(file_uuid) if file_uuid
end