From b4a493df6923014d5133f6c7d88685ffaacb14d4 Mon Sep 17 00:00:00 2001 From: Vishrut Shah Date: Wed, 15 Jun 2016 17:41:45 -0700 Subject: [PATCH] Ruby - Adding Model name on the properties of the ServiceClient (#1158) --- .../Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml b/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml index 1a049baf23..a4f57b3169 100644 --- a/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml +++ b/AutoRest/Generators/Ruby/Ruby/Templates/ServiceClientTemplate.cshtml @@ -35,7 +35,7 @@ module @Settings.Namespace @foreach (var operation in Model.MethodGroups) { - @:@WrapComment("# ", string.Format("@return {0}", RubyCodeNamer.UnderscoreCase(operation))) + @:@WrapComment("# ", string.Format("@return [{0}] {1}", operation, RubyCodeNamer.UnderscoreCase(operation))) @:attr_reader :@(RubyCodeNamer.UnderscoreCase(operation)) @EmptyLine }