Class Mack::Errors::InvalidAuthenticityToken
In: lib/mack/errors/errors.rb
Parent: StandardError

Raised if a request (other than GET request) has an invalid authenticity token

Methods

new  

Public Class methods

Takes the mismatched token

[Source]

     # File lib/mack/errors/errors.rb, line 113
113:       def initialize(token)
114:         super("TOKEN: #{token.to_s} is an invalid request authenticity token.")
115:       end

[Validate]