Sha256: 641e9b0e7e042c8c530e8bd1c29d609dc0edaaf81f03cef17112aceec4d698a6
Contents?: true
Size: 294 Bytes
Versions: 68
Compression:
Stored size: 294 Bytes
Contents
module Pageflow class SubmitFileToZencoderJob < ApplicationJob queue_as :default include StateMachineJob def 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
68 entries across 68 versions & 1 rubygems