提交 179060ad 编写于 作者: R Rafael Mendonça França

Merge pull request #32 from mperham/master

RDoc enqueue
......@@ -2,8 +2,16 @@
module ActiveJob
module Enqueuing
##
# Push a job onto the queue. The arguments must be legal JSON types
# (string, int, float, nil, true, false, hash or array) or
# ActiveModel::GlobalIdentication instances. Arbitrary Ruby objects
# are not supported.
#
# The return value is adapter-specific and may change in a future
# ActiveJob release.
def enqueue(*args)
queue_adapter.queue self, *Parameters.serialize(args)
end
end
end
\ No newline at end of file
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册