summaryrefslogtreecommitdiff
path: root/app/services/deploy_tokens/create_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/deploy_tokens/create_service.rb')
-rw-r--r--app/services/deploy_tokens/create_service.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/services/deploy_tokens/create_service.rb b/app/services/deploy_tokens/create_service.rb
new file mode 100644
index 00000000000..52f545947af
--- /dev/null
+++ b/app/services/deploy_tokens/create_service.rb
@@ -0,0 +1,7 @@
+module DeployTokens
+ class CreateService < BaseService
+ def execute
+ @project.deploy_tokens.create(params)
+ end
+ end
+end