Class: Tokite::NotifyGithubHookEventJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Tokite::NotifyGithubHookEventJob
- Defined in:
- app/jobs/tokite/notify_github_hook_event_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(payload) ⇒ Object
7 8 9 10 11 |
# File 'app/jobs/tokite/notify_github_hook_event_job.rb', line 7 def perform(payload) Rails.application.config.slack_notifier.ping(payload) rescue Slack::Notifier::APIError => e ExceptionLogger.log(e, level: :warn) end |