fa7ed15df6
Signed-off-by: Rémy Coutable <remy@rymai.me>
9 lines
188 B
Ruby
9 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
module DeployKeys
|
|
class CreateService < Keys::BaseService
|
|
def execute(project: nil)
|
|
DeployKey.create(params.merge(user: user))
|
|
end
|
|
end
|
|
end
|