Class: AppManager::EventHandler

Inherits:
Object
  • Object
show all
Defined in:
app/services/app_manager/event_handler.rb

Instance Method Summary collapse

Constructor Details

#initialize(event, payload) ⇒ EventHandler

Returns a new instance of EventHandler.



4
5
6
# File 'app/services/app_manager/event_handler.rb', line 4

def initialize(event,payload)
    ActiveSupport::Notifications.instrument(event, payload)
end