Skip to content

Commit

Permalink
Get formatted reference value for only sequence type or return name (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah committed May 18, 2016
1 parent a63879d commit 8212eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoRest/Generators/Ruby/Ruby/ClientModelExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static string GetFormattedReferenceValue(this Parameter parameter)
SequenceType sequence = parameter.Type as SequenceType;
if (sequence == null)
{
return parameter.Type.ToString(parameter.Name);
return parameter.Name;
}

PrimaryType primaryType = sequence.ElementType as PrimaryType;
Expand Down

0 comments on commit 8212eb8

Please sign in to comment.