Sha256: d5e9232a06a9678c5a2072a996289420a02e5237fb09c1380086c18ece753b51

Contents?: true

Size: 355 Bytes

Versions: 52

Compression:

Stored size: 355 Bytes

Contents

module RocketJob
  module Jobs
    # Used to wrap an Active Job
    class ActiveJob < RocketJob::Job #:nodoc:
      field :data, type: Hash
      field :active_job_id, type: String
      field :active_job_class, type: String
      field :active_job_queue, type: String

      def perform
        ::ActiveJob::Base.execute data
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
rocketjob-6.3.1 lib/rocket_job/jobs/active_job.rb
rocketjob-6.3.0 lib/rocket_job/jobs/active_job.rb
rocketjob-6.2.0 lib/rocket_job/jobs/active_job.rb
rocketjob-6.1.1 lib/rocket_job/jobs/active_job.rb
rocketjob-6.1.0 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.3 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.2 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.1 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.0 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.0.rc3 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.0.rc2 lib/rocket_job/jobs/active_job.rb
rocketjob-6.0.0.rc1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.4.1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.4.0 lib/rocket_job/jobs/active_job.rb
rocketjob-5.4.0.beta2 lib/rocket_job/jobs/active_job.rb
rocketjob-5.4.0.beta1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.3.3 lib/rocket_job/jobs/active_job.rb
rocketjob-5.3.2 lib/rocket_job/jobs/active_job.rb
rocketjob-5.3.1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.3.0 lib/rocket_job/jobs/active_job.rb