debian-mirror-gitlab/app/services/deploy_keys/create_service.rb
2019-02-15 15:39:39 +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