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-5.2.0 lib/rocket_job/jobs/active_job.rb
rocketjob-5.2.0.beta3 lib/rocket_job/jobs/active_job.rb
rocketjob-5.2.0.beta2 lib/rocket_job/jobs/active_job.rb
rocketjob-5.2.0.beta1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.1.1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.1.0 lib/rocket_job/jobs/active_job.rb
rocketjob-5.0.0 lib/rocket_job/jobs/active_job.rb
rocketjob-5.0.0.rc1 lib/rocket_job/jobs/active_job.rb
rocketjob-5.0.0.beta4 lib/rocket_job/jobs/active_job.rb
rocketjob-5.0.0.beta3 lib/rocket_job/jobs/active_job.rb
rocketjob-5.0.0.beta2 lib/rocket_job/jobs/active_job.rb
rocketjob-5.0.0.beta lib/rocket_job/jobs/active_job.rb
rocketjob-4.3.0.beta2 lib/rocket_job/jobs/active_job.rb
rocketjob-4.3.0.beta lib/rocket_job/jobs/active_job.rb
rocketjob-4.2.0 lib/rocket_job/jobs/active_job.rb
rocketjob-4.1.1 lib/rocket_job/jobs/active_job.rb
rocketjob-4.1.0 lib/rocket_job/jobs/active_job.rb
rocketjob-4.0.0 lib/rocket_job/jobs/active_job.rb
rocketjob-3.5.2 lib/rocket_job/jobs/active_job.rb
rocketjob-3.5.1 lib/rocket_job/jobs/active_job.rb