Class: Conjoin::AuthToken::Middleware
- Inherits:
-
Object
- Object
- Conjoin::AuthToken::Middleware
- Defined in:
- lib/conjoin/auth_token.rb
Defined Under Namespace
Classes: Responder
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, settings = {}) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app, settings = {}) ⇒ Middleware
Returns a new instance of Middleware.
38 39 40 41 |
# File 'lib/conjoin/auth_token.rb', line 38 def initialize(app, settings = {}) @app = app AuthToken.settings = OpenStruct.new settings end |