aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/queue_adapters/inline_adapter.rb
blob: 36fc3c4951510a8078cc7fd6fdfddd886cd67822 (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 *Parameters.deserialize(args)
        end
      end
    end
  end
end