debian-mirror-gitlab/app/services/deploy_keys/create_service.rb
2018-11-18 11:00:15 +05:30

9 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