Skip to content

Commit

Permalink
Rename to InlineAdapter to match *Adapter form, even if the queue is …
Browse files Browse the repository at this point in the history
…embedded in there too
  • Loading branch information
dhh committed May 18, 2014
1 parent 08a2ba9 commit 30973e3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/active_job/queue_adapters/inline_adapter.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module ActiveJob
module QueueAdapters
class InlineAdapter
class << self
def queue(job, *args)
job.perform(*args)
end
end
end
end
end

0 comments on commit 30973e3

Please sign in to comment.