Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-12-06 20:59:03 +0300
committerFelipe Artur <felipefac@gmail.com>2016-12-15 20:32:49 +0300
commita5ccaded656fb215f1f8d503b88c8f28bf90ce68 (patch)
treef68c114323f6d345a753f0062c1633449e76db21 /lib
parent141faaacf9119ce5d765efe73c6509030ba078cd (diff)
Change SlackService to SlackNotificationsService
Diffstat (limited to 'lib')
-rw-r--r--lib/api/services.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb
index b1e072b4f47..59232c84c24 100644
--- a/lib/api/services.rb
+++ b/lib/api/services.rb
@@ -473,7 +473,7 @@ module API
desc: 'The description of the tracker'
}
],
- 'slack' => [
+ 'slack-notification' => [
{
required: true,
name: :webhook,
@@ -493,6 +493,14 @@ module API
desc: 'The channel name'
}
],
+ 'mattermost-notification' => [
+ {
+ required: true,
+ name: :webhook,
+ type: String,
+ desc: 'The Mattermost webhook. e.g. http://mattermost_host/hooks/...'
+ }
+ ],
'teamcity' => [
{
required: true,