Skip to content

Commit 7484916

Browse files
committed
fix: ruby
1 parent ecc7c23 commit 7484916

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
@@ -5,7 +5,7 @@
55
params: api_params,
66
{%~ if method.type == "webAuth" %}
77
response_type: "location"
8-
{%~ elseif method.responseModel is defined and method.responseModel != 'any' %}
8+
{%~ elseif method.responseModel and method.responseModel != 'any' %}
99
response_type: Models::{{ method.responseModel | caseUcfirst }}
1010
{%~ endif %}
1111
)

0 commit comments

Comments
 (0)