gitlab-org--gitlab-foss/app/services/deploy_keys/create_service.rb

10 lines
174 B
Ruby

# frozen_string_literal: true
module DeployKeys
class CreateService < Keys::BaseService
def execute
DeployKey.create(params.merge(user: user))
end
end
end