Updated ruby client and added new methods