Class: Grumlin::Middlewares::Middleware

Inherits:
Object
  • Object
show all
Defined in:
lib/grumlin/middlewares/middleware.rb

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ Middleware

Returns a new instance of Middleware.



4
5
6
# File 'lib/grumlin/middlewares/middleware.rb', line 4

def initialize(app)
  @app = app
end

Instance Method Details

#call(env) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/grumlin/middlewares/middleware.rb', line 8

def call(env)
  raise NotImplementedError
end