Class: Videoencoder

Inherits:
Object
  • Object
show all
Defined in:
app/worker/videoencoder.rb

Class Method Summary collapse

Class Method Details

.perform(video_id) ⇒ Object



3
4
5
6
# File 'app/worker/videoencoder.rb', line 3

def self.perform(video_id)
  video = Video.find(video_id)
  video.file.reprocess!
end