Fix bug in ruby client - missing end for module Models