Class: Rabbitek::ClientHook

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbitek/client/client_hook.rb

Overview

Base client hook class

Direct Known Subclasses

Rabbitek::Client::Hooks::OpenTracing

Instance Method Summary collapse

Instance Method Details

#call(payload, params) {|payload, params| ... } ⇒ Object

Yields:

  • (payload, params)


7
8
9
# File 'lib/rabbitek/client/client_hook.rb', line 7

def call(payload, params)
  yield(payload, params)
end