Welcome to mirror list, hosted at ThFree Co, Russian Federation.

create_service.rb « deploy_keys « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3245e749164cc2f7e0c43ed14e99bfd41630f343 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module DeployKeys
  class CreateService < Keys::BaseService
    def execute(project: nil)
      DeployKey.create(params.merge(user: user))
    end
  end
end

DeployKeys::CreateService.prepend_mod_with('DeployKeys::CreateService')