Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
antulik committed Aug 8, 2024
1 parent 8359dec commit bd85d05
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/active_interaction/extras/good_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,4 @@ def batch_job(job_params)
batch
end
end

class MyBatchCallbackJob < ApplicationJob
def perform(batch, options)
job_klass = batch.properties[:job_klass]
job_klass_params = batch.properties[:job_klass_params]

ActiveInteraction::Extras::Current::CurrentContext.set(batch_event: options[:event]) do
job_klass.constantize.perform_now(job_klass_params)
end
end
end
end

0 comments on commit bd85d05

Please sign in to comment.