Class: Ears::Middleware Abstract
- Inherits:
-
Object
- Object
- Ears::Middleware
- Defined in:
- lib/ears/middleware.rb
Overview
This class is abstract.
Subclass and override #call (and maybe +#initialize+) to implement.
The abstract base class for middlewares.
Direct Known Subclasses
Ears::Middlewares::Appsignal, Ears::Middlewares::JSON, Ears::Middlewares::MaxRetries
Instance Method Summary collapse
-
#call(delivery_info, metadata, payload, app) ⇒ Object
Invokes the middleware.
Instance Method Details
#call(delivery_info, metadata, payload, app) ⇒ Object
Invokes the middleware.
11 12 13 |
# File 'lib/ears/middleware.rb', line 11 def call(delivery_info, , payload, app) raise NotImplementedError end |