There is an half official tutorial here: GitHub - SketchUp/sketchup-ruby-api-tutorials: SketchUp Ruby API Tutorials and Examples
I’m not sure if you aware of this list. There is only one Sketchup specific mentioned there: the “ Automatic SketchUp ”. Be sure to treat it with care, a little outdated… and so on, but otherwise more easy to understand.