The Google SketchUp SDK has everything you need to write plugins for Google SketchUp as well as read and write SketchUp files in your applications. It includes:
- Sample code and guidelines
This is not the Ruby API, which is built-in to the SketchUp executable itself. If you want to write Ruby plugins, all you need is SketchUp.