blob: 50d14a321d2a351276f9778ab43ad95b446e8a7b (
plain) (
tree)
|
|
module ActiveJob
module QueueAdapters
class InlineAdapter
class << self
def enqueue(job, *args)
job.new.execute *args
end
def enqueue_at(*)
raise NotImplementedError.new("Use a queueing backend to enqueue jobs in the future. Read more at https://github.com/rails/activejob")
end
end
end
end
end
|