Class: MagicLinks::Middleware::MagicTokenRedirect
- Inherits:
-
Object
- Object
- MagicLinks::Middleware::MagicTokenRedirect
- Defined in:
- lib/magic_links/middleware/magic_token_redirect.rb
Defined Under Namespace
Classes: Handler
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ MagicTokenRedirect
constructor
A new instance of MagicTokenRedirect.
Constructor Details
#initialize(app) ⇒ MagicTokenRedirect
Returns a new instance of MagicTokenRedirect.
4 5 6 |
# File 'lib/magic_links/middleware/magic_token_redirect.rb', line 4 def initialize(app) @app = app end |