module ActiveJob::QueueAdapter::ClassMethods

def queue_adapter?(object)

def queue_adapter?(object)
  QUEUE_ADAPTER_METHODS.all? { |meth| object.respond_to?(meth) }
end