提交 2cc3648f 编写于 作者: C Carlos Antonio da Silva

Merge pull request #9905 from docunext/master

ActiveSupport::MessageVerifier: Updated docs due to removal of serializer accessor
......@@ -19,10 +19,10 @@ module ActiveSupport
# end
#
# By default it uses Marshal to serialize the message. If you want to use
# another serialization method, you can set the serializer attribute to
# something that responds to dump and load, e.g.:
# another serialization method, you can set the serializer in the options
# hash upon initialization:
#
# @verifier.serializer = YAML
# @verifier = ActiveSupport::MessageVerifier.new('s3Krit', serializer: YAML)
class MessageVerifier
class InvalidSignature < StandardError; end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册