Sha256: 7a6caabfea37c969162a2885626247c4a6582e3c32246e15cc9ba00f3666a05b

Contents?: true

Size: 244 Bytes

Versions: 46

Compression:

Stored size: 244 Bytes

Contents

module EasyML
  class DeployJob < ApplicationJob
    def perform(id)
      deploy = EasyML::Deploy.find(id)

      begin
        deploy.actually_deploy
      rescue StandardError => e
        handle_error(deploy, e)
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc47 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc46 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc45 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc44 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc43 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc41 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc40 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc39 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc38 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc37 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc36 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc35 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc34 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc33 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc32 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc31 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc30 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc29 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc28 app/jobs/easy_ml/deploy_job.rb
easy_ml-0.2.0.pre.rc27 app/jobs/easy_ml/deploy_job.rb