We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f875c96 commit 00f8271Copy full SHA for 00f8271
templates/ruby/lib/container/models/model.rb.twig
@@ -7,6 +7,9 @@ module {{ spec.title | caseUcfirst }}
7
{% for property in definition.properties %}
8
attr_reader :{{ property.name | caseSnake | escapeKeyword }}
9
{% endfor %}
10
+{% if definition.additionalProperties %}
11
+ attr_reader :data
12
+{% endif %}
13
14
def initialize(
15
@@ -68,4 +71,4 @@ module {{ spec.title | caseUcfirst }}
68
71
69
72
end
70
73
-end
74
+end
0 commit comments