ruby client examples