EDREI-11753: Finished ruby example.

The example has not yet been tested.