aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/queue_adapters/inline_adapter.rb
blob: 0a1526dce714540227fd8a21aad8b6fe9282baa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module ActiveJob
  module QueueAdapters
    class InlineAdapter
      class << self
        def queue(job, *args)
          job.perform(*ActiveJob::Parameters.deserialize(args))
        end
      end
    end
  end
end