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