Exception: Mack::Errors::InvalidAuthenticityToken
- Defined in:
- lib/mack/errors/errors.rb
Overview
Raised if a request (other than GET request) has an invalid authenticity token
Instance Method Summary collapse
-
#initialize(token) ⇒ InvalidAuthenticityToken
constructor
Takes the mismatched token.
Constructor Details
#initialize(token) ⇒ InvalidAuthenticityToken
Takes the mismatched token
113 114 115 |
# File 'lib/mack/errors/errors.rb', line 113 def initialize(token) super("TOKEN: #{token.to_s} is an invalid request authenticity token.") end |