Class: FTPMVC::Async::Upload::DefaultJob

Inherits:
Object
  • Object
show all
Extended by:
Job
Defined in:
lib/ftpmvc/async/upload/default_job.rb

Class Method Summary collapse

Methods included from Job

after_perform_delete_uploaded_file

Class Method Details

.perform(path, id) ⇒ Object



12
13
14
# File 'lib/ftpmvc/async/upload/default_job.rb', line 12

def self.perform(path, id)
  FTPMVC::Async::Upload.config.application.put(path, input(id))
end