Sha256: d742f52141c19cd2de9667ecb4b6f87fbbc482fa417677f114dc61ed1d1d2d2e
Contents?: true
Size: 280 Bytes
Versions: 40
Compression:
Stored size: 280 Bytes
Contents
module Pageflow class SubmitFileToZencoderJob @queue = :default extend StateMachineJob def self.perform_with_result(file, options, api = ZencoderApi.instance) file.job_id = api.create_job(file.output_definition) file.save! :ok end end end
Version data entries
40 entries across 40 versions & 1 rubygems