diff options
author | Zachary Scott <e@zzak.io> | 2014-12-09 15:41:03 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-12-09 15:41:03 -0800 |
commit | efe80bce9765f7fcc1d09338a212f8ea1c4d7a7a (patch) | |
tree | 478fb09c460ffac30355df02d31a981b9d5e5240 /activesupport | |
parent | 6b1cd5a10e4ae3fb048d8e6bf45549a7b2055c71 (diff) | |
parent | 628580c032a0c62ff2e63a7fe0ddecf9094930f5 (diff) | |
download | rails-efe80bce9765f7fcc1d09338a212f8ea1c4d7a7a.tar.gz rails-efe80bce9765f7fcc1d09338a212f8ea1c4d7a7a.tar.bz2 rails-efe80bce9765f7fcc1d09338a212f8ea1c4d7a7a.zip |
Merge pull request #17989 from y-yagi/patch-1
[ci skip] fix typo in MessageVerifier#verify docs
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/message_verifier.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb index d16c1c629b..eee9bbaead 100644 --- a/activesupport/lib/active_support/message_verifier.rb +++ b/activesupport/lib/active_support/message_verifier.rb @@ -94,7 +94,7 @@ module ActiveSupport # secret or was not Base64-encoded. # # other_verifier = ActiveSupport::MessageVerifier.new 'd1ff3r3nt-s3Krit' - # other_verifier.verified(signed_message) # => ActiveSupport::MessageVerifier::InvalidSignature + # other_verifier.verify(signed_message) # => ActiveSupport::MessageVerifier::InvalidSignature def verify(signed_message) verified(signed_message) || raise(InvalidSignature) end |