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

Version Path
pageflow-12.6.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.5.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.4.1 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.4.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.3.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.2.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.1.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.4 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.3 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.2 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.1 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc7 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc6 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-0.11.4 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc5 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc4 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc3 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc2 app/jobs/pageflow/submit_file_to_zencoder_job.rb
pageflow-12.0.0.rc1 app/jobs/pageflow/submit_file_to_zencoder_job.rb