class Cuba::Tools::Auth::Middleware

Public Class Methods

new(app) click to toggle source
# File lib/cuba/tools/auth.rb, line 23
def initialize(app)
  @app = app
end

Public Instance Methods

call(env) click to toggle source
# File lib/cuba/tools/auth.rb, line 27
def call(env)
  responder = Responder.new(@app, env)
  responder.respond
end