diff --git a/templates/ruby/docs/example.md.twig b/templates/ruby/docs/example.md.twig index ed2ef5313..4ffd481c2 100644 --- a/templates/ruby/docs/example.md.twig +++ b/templates/ruby/docs/example.md.twig @@ -1,4 +1,4 @@ -require '{{ spec.title }}' +require '{{ spec.title | lower }}' include {{ spec.title | caseUcfirst }} @@ -14,4 +14,4 @@ client = Client.new response = {{ service.name | caseSnake }}.{{ method.name | caseSnake }}({% for parameter in method.parameters.all %}{% if parameter.required %}{% if not loop.first %}, {% endif %}{{parameter.name|caseSnake}}: {% if parameter.type == 'file' %}{{ parameter | paramExample }}{% else %}{{ parameter | paramExample }}{% endif %}{% endif %}{% endfor %}) -puts response.inspect \ No newline at end of file +puts response.inspect