Skip to content

Commit e5cac2c

Browse files
committed
fix: caaseUcFirst
1 parent d7e7242 commit e5cac2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/ruby/base/requests/api.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
{% if method.type == "webAuth" %}
77
response_type: "location"
88
{% elseif method.responseModel is defined and method.responseModel != 'any' %}
9-
response_type: Models::{{ method.responseModel|capitalize }}
9+
response_type: Models::{{ method.responseModel | caseUcfirst }}
1010
{% endif %}
1111
)

0 commit comments

Comments
 (0)