Implemented a base for the Ruby client.