summaryrefslogtreecommitdiff
path: root/app/services/commits
diff options
context:
space:
mode:
authorPeter Leitzen <pl@neopoly.de>2018-07-21 10:52:07 +0200
committerPeter Leitzen <pl@neopoly.de>2018-08-10 16:45:11 +0200
commit2022243a222583daaf9e00d44fa6d1a9d75d4b02 (patch)
tree0bfd3531713747382c07f5c9cc6c12cb5ca330aa /app/services/commits
parentd23fbbc6928983582198092cf28a0cd46d30252f (diff)
downloadgitlab-ce-2022243a222583daaf9e00d44fa6d1a9d75d4b02.tar.gz
Create empty Commits::UpdateService and wire it up
Diffstat (limited to 'app/services/commits')
-rw-r--r--app/services/commits/update_service.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/services/commits/update_service.rb b/app/services/commits/update_service.rb
new file mode 100644
index 00000000000..9cd5ddc7f91
--- /dev/null
+++ b/app/services/commits/update_service.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+module Commits
+ class UpdateService < BaseService
+ def execute(commit)
+ # TODO authorize user
+ end
+ end
+end