debian-mirror-gitlab/app/services/deploy_keys/create_service.rb
2019-02-13 22:33:31 +05:30

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