Class: Shingoncoder::Backend::TranscodeJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/shingoncoder/backend/transcode_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(id) ⇒ Object

Parameters:

  • id (Fixnum)

    the identifier of the job registry record



7
8
9
# File 'lib/shingoncoder/backend/transcode_job.rb', line 7

def perform(id)
  TranscodeService.new(id).transcode
end