finished ruby client