Class: Webhookdb::Jobs::DeveloperAlertHandle

Inherits:
Object
  • Object
show all
Extended by:
Async::Job
Defined in:
lib/webhookdb/jobs/developer_alert_handle.rb

Instance Method Summary collapse

Methods included from Async::Job

extended

Instance Method Details

#_perform(event) ⇒ Object



10
11
12
13
# File 'lib/webhookdb/jobs/developer_alert_handle.rb', line 10

def _perform(event)
  alert = Webhookdb::DeveloperAlert.new(**event.payload.first.symbolize_keys)
  alert.handle
end