gitlab-org--gitlab-foss/app/services/gpg_keys/destroy_service.rb

11 lines
183 B
Ruby

# frozen_string_literal: true
module GpgKeys
class DestroyService < Keys::BaseService
def execute(key)
key.destroy
end
end
end
GpgKeys::DestroyService.prepend_mod