You can't do reflection and refraction in SU.
The only thing you can do is set the Style settings - same as what you do in the Styles Window. http://code.google.com/apis/sketchup/docs/ourdoc/renderingoptions.html
If you need access to the OpenGL rendering you can't use Ruby for that. You'll have to hook into it by other means.
btw, your image doesn't load.