How can we create spotlight in Ruby

Dear friends,
In Vray, we have the spotlight and we can set its cone angle, light color, light lumens, and … How can we create a spotlight in ruby and set its parameters?

The spotlight is added by the Vray plugin. So far as I know, they don’t publish any API for you to independently create their objects.