mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rename to InlineAdapter to match *Adapter form, even if the queue is embedded in there too
This commit is contained in:
parent
08a2ba99e0
commit
30973e35a0
1 changed files with 11 additions and 0 deletions
11
lib/active_job/queue_adapters/inline_adapter.rb
Normal file
11
lib/active_job/queue_adapters/inline_adapter.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
module ActiveJob
|
||||
module QueueAdapters
|
||||
class InlineAdapter
|
||||
class << self
|
||||
def queue(job, *args)
|
||||
job.perform(*args)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue