Class: Rack::Tamperproof::Protector::DeleteProtector
- Inherits:
-
Rack::Tamperproof::Protector
- Object
- Rack::Tamperproof::Protector
- Rack::Tamperproof::Protector::DeleteProtector
- Defined in:
- lib/rack-tamperproof.rb
Instance Method Summary collapse
Methods inherited from Rack::Tamperproof::Protector
#add_secret_to_response, #initialize, #secret, #secret_cookie_key, sign, #valid?
Constructor Details
This class inherits a constructor from Rack::Tamperproof::Protector
Instance Method Details
#validate(request) ⇒ Object
60 61 62 63 64 65 |
# File 'lib/rack-tamperproof.rb', line 60 def validate(request) unless valid?(request) request.(@name) request.() end end |