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-3.5.0 lib/rocket_job/jobs/active_job.rb
rocketjob-3.4.3 lib/rocket_job/jobs/active_job.rb
rocketjob-3.4.2 lib/rocket_job/jobs/active_job.rb
rocketjob-3.4.1 lib/rocket_job/jobs/active_job.rb
rocketjob-3.4.0 lib/rocket_job/jobs/active_job.rb
rocketjob-3.3.4 lib/rocket_job/jobs/active_job.rb
rocketjob-3.3.3 lib/rocket_job/jobs/active_job.rb
rocketjob-3.3.2 lib/rocket_job/jobs/active_job.rb
rocketjob-3.3.1 lib/rocket_job/jobs/active_job.rb
rocketjob-3.3.0 lib/rocket_job/jobs/active_job.rb
rocketjob-3.2.1 lib/rocket_job/jobs/active_job.rb
rocketjob-3.2.0 lib/rocket_job/jobs/active_job.rb