diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2016-12-27 12:44:24 +0000 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-01-22 00:02:29 +0000 |
commit | cd51af1a991eaa5e16e3c6b94c89d90e20a5641f (patch) | |
tree | 487d4facff51567ab73121aed9f3fec29d7aad8f /app/helpers/services_helper.rb | |
parent | 4b7ec44b91e0571d209c790d54947ba1756dac0e (diff) | |
download | gitlab-ce-cd51af1a991eaa5e16e3c6b94c89d90e20a5641f.tar.gz |
adds events to services api deserialization
Diffstat (limited to 'app/helpers/services_helper.rb')
-rw-r--r-- | app/helpers/services_helper.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/helpers/services_helper.rb b/app/helpers/services_helper.rb index 9bab140e60a..790ea446e67 100644 --- a/app/helpers/services_helper.rb +++ b/app/helpers/services_helper.rb @@ -1,23 +1,23 @@ module ServicesHelper def service_event_description(event) case event - when "push" + when "push", "push_events" "Event will be triggered by a push to the repository" - when "tag_push" + when "tag_push", "tag_push_events" "Event will be triggered when a new tag is pushed to the repository" - when "note" + when "note", "note_events" "Event will be triggered when someone adds a comment" - when "issue" + when "issue", "issue_events" "Event will be triggered when an issue is created/updated/closed" - when "confidential_issue" + when "confidential_issue", "confidential_issue_events" "Event will be triggered when a confidential issue is created/updated/closed" - when "merge_request" + when "merge_request", "merge_request_events" "Event will be triggered when a merge request is created/updated/merged" - when "build" + when "build", "build_events" "Event will be triggered when a build status changes" - when "wiki_page" + when "wiki_page", "wiki_page_events" "Event will be triggered when a wiki page is created/updated" - when "commit" + when "commit", "commit_events" "Event will be triggered when a commit is created/updated" end end |