Multidimensional Purcell effect in an ytterbium-doped ring resonator