example ruby client