Class: Uploadcare::Rails::DeleteFileJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Uploadcare::Rails::DeleteFileJob
- Defined in:
- lib/uploadcare/rails/jobs/delete_file_job.rb
Overview
A job deleting files from Uploadcare
Instance Method Summary collapse
Instance Method Details
#perform(file_uuid) ⇒ Object
9 10 11 |
# File 'lib/uploadcare/rails/jobs/delete_file_job.rb', line 9 def perform(file_uuid) Uploadcare::FileApi.delete_file(file_uuid) if file_uuid end |