Class: Facemock::OAuth::RackMiddleware

Inherits:
Object
  • Object
show all
Defined in:
lib/facemock/oauth/rack_middleware.rb

Direct Known Subclasses

Authentication, CallbackHook, Login, LoginHook

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ RackMiddleware

Returns a new instance of RackMiddleware.



6
7
8
# File 'lib/facemock/oauth/rack_middleware.rb', line 6

def initialize(app)
  @app = app
end

Instance Method Details

#call(env) ⇒ Object



10
11
12
# File 'lib/facemock/oauth/rack_middleware.rb', line 10

def call(env)
  @app.call(env)
end