Ruby client: Consolidate class name generation

 - Fix bug with module name sometimes able to be lowercased