summaryrefslogtreecommitdiff
path: root/app/services/system_notes/zoom_service.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 15:06:07 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 15:06:07 +0000
commitd96abbee0b394ac40eb67253214fb9c41a31bd41 (patch)
tree4887c6f08cc902c79e2a31d21a85ce7909cf88bc /app/services/system_notes/zoom_service.rb
parent69849c280c5525d132ebaddb1200c390a42ecc06 (diff)
downloadgitlab-ce-d96abbee0b394ac40eb67253214fb9c41a31bd41.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/system_notes/zoom_service.rb')
-rw-r--r--app/services/system_notes/zoom_service.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/services/system_notes/zoom_service.rb b/app/services/system_notes/zoom_service.rb
new file mode 100644
index 00000000000..6cd166d6cb9
--- /dev/null
+++ b/app/services/system_notes/zoom_service.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module SystemNotes
+ class ZoomService < ::SystemNotes::BaseService
+ def zoom_link_added
+ create_note(NoteSummary.new(noteable, project, author, _('added a Zoom call to this issue'), action: 'pinned_embed'))
+ end
+
+ def zoom_link_removed
+ create_note(NoteSummary.new(noteable, project, author, _('removed a Zoom call from this issue'), action: 'pinned_embed'))
+ end
+ end
+end