Class: Rabbitek::ServerHook
- Inherits:
-
Object
- Object
- Rabbitek::ServerHook
- Defined in:
- lib/rabbitek/server/server_hook.rb
Overview
Base server hook class
Direct Known Subclasses
Rabbitek::Server::Hooks::ActiveRecordConnectionReset, Rabbitek::Server::Hooks::OpenTracing, Rabbitek::Server::Hooks::Retry, Rabbitek::Server::Hooks::TimeTracker
Instance Method Summary collapse
Instance Method Details
#call(consumer, message) {|consumer, message| ... } ⇒ Object
7 8 9 |
# File 'lib/rabbitek/server/server_hook.rb', line 7 def call(consumer, ) yield(consumer, ) end |