debian-mirror-gitlab/app/models/integrations/slack.rb

25 lines
420 B
Ruby
Raw Normal View History

2021-09-04 01:27:46 +05:30
# frozen_string_literal: true
module Integrations
2023-01-13 00:05:48 +05:30
class Slack < BaseSlackNotification
2021-09-04 01:27:46 +05:30
include SlackMattermostNotifier
def title
'Slack notifications'
end
def description
'Send notifications about project events to Slack.'
end
def self.to_param
'slack'
end
2023-01-13 00:05:48 +05:30
override :webhook_help
def webhook_help
2021-09-04 01:27:46 +05:30
'https://hooks.slack.com/services/…'
end
end
end