Didn't have space to put my glasses and ring when i went to bed as I didn't have a side table. Quickly whipped this up in SolidWorks and put on my bed frame using double sided tape, works like a charm.
I tried to reduce the overhang as much as possible, but if you are printing with ABS, i would recommend using supports. With PLA you can get away with no supports.
Model in SolidWorks