class SlackService < ChatNotificationService def title 'Slack notifications' end def description 'Receive event notifications in Slack' end def self.to_param 'slack' end def help 'This service sends notifications about projects events to Slack channels.
To set up this service:
  1. Add an incoming webhook in your Slack team. The default channel can be overridden for each event.
  2. Paste the Webhook URL into the field below.
  3. Select events below to enable notifications. The Channel name and Username fields are optional.
' end def default_channel_placeholder "Channel name (e.g. general)" end def webhook_placeholder 'https://hooks.slack.com/services/…' end end