Class: Spid::Rack::Logout
- Inherits:
-
Object
- Object
- Spid::Rack::Logout
- Defined in:
- lib/spid/rack/logout.rb
Overview
:nodoc:
Defined Under Namespace
Classes: LogoutEnv
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Logout
constructor
A new instance of Logout.
Constructor Details
#initialize(app) ⇒ Logout
Returns a new instance of Logout.
8 9 10 |
# File 'lib/spid/rack/logout.rb', line 8 def initialize(app) @app = app end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
6 7 8 |
# File 'lib/spid/rack/logout.rb', line 6 def app @app end |