25 lines
434 B
Ruby
25 lines
434 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Integrations
|
|
class Slack < BaseSlackNotification
|
|
include SlackMattermostNotifier
|
|
|
|
def title
|
|
'Slack notifications'
|
|
end
|
|
|
|
def description
|
|
'Send notifications about project events to Slack.'
|
|
end
|
|
|
|
def self.to_param
|
|
'slack'
|
|
end
|
|
|
|
override :webhook_placeholder
|
|
def webhook_placeholder
|
|
'https://hooks.slack.com/services/…'
|
|
end
|
|
end
|
|
end
|