Class: LogStruct::Integrations::RackMiddleware Abstract

Inherits:
Object
  • Object
show all
Extended by:
T::Helpers, T::Sig
Defined in:
lib/log_struct/integrations/rack_middleware.rb

Overview

This class is abstract.

It cannot be directly instantiated. Subclasses must implement the abstract methods below.

A Rack middleware around the app: subclasses define call, and pass the request on to @app

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ void

Parameters:

  • app (T.untyped)


14
15
16
# File 'lib/log_struct/integrations/rack_middleware.rb', line 14

def initialize(app)
  @app = app
end

Instance Method Details

#call(env) ⇒ T.untyped

This method is abstract.

Parameters:

  • env (T.untyped)

Returns:

  • (T.untyped)


19
20
# File 'lib/log_struct/integrations/rack_middleware.rb', line 19

def call(env)
end