diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-12-06 20:59:03 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-12-15 20:32:49 +0300 |
commit | a5ccaded656fb215f1f8d503b88c8f28bf90ce68 (patch) | |
tree | f68c114323f6d345a753f0062c1633449e76db21 /lib | |
parent | 141faaacf9119ce5d765efe73c6509030ba078cd (diff) |
Change SlackService to SlackNotificationsService
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/services.rb | 10 |
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, |