Class: Faulty::Events::ListenerInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/faulty/events/listener_interface.rb

Overview

The interface required to implement a event listener

This is for documentation only and is not loaded

Instance Method Summary collapse

Instance Method Details

#handle(event, payload) ⇒ void

This method returns an undefined value.

Handle an event raised by Faulty



14
15
# File 'lib/faulty/events/listener_interface.rb', line 14

def handle(event, payload)
end