class Conjoin::AuthToken::Middleware
Public Class Methods
new(app, settings = {})
click to toggle source
# File lib/conjoin/auth_token.rb, line 38 def initialize(app, settings = {}) @app = app AuthToken.settings = OpenStruct.new settings end
Public Instance Methods
call(env)
click to toggle source
# File lib/conjoin/auth_token.rb, line 43 def call(env) responder = Responder.new(@app, env) responder.respond end