#474 - Clarify that base64 properties are automatically encoded/decoded.
This commit is contained in:
parent
bdc903776d
commit
51b41edb1c
|
@ -7,6 +7,9 @@ class <%= cls.generated_class_name %><% if cls.base_ref %> < <%= cls.base_ref.ge
|
||||||
|
|
||||||
# <%= block_comment(property.description, 2, 1) %>
|
# <%= block_comment(property.description, 2, 1) %>
|
||||||
# Corresponds to the JSON property `<%= property.name %>`
|
# Corresponds to the JSON property `<%= property.name %>`
|
||||||
|
<% if property.format == 'byte' -%>
|
||||||
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
<% end -%>
|
||||||
# @return [<%= property.generated_type %>]
|
# @return [<%= property.generated_type %>]
|
||||||
attr_accessor :<%= property.generated_name %>
|
attr_accessor :<%= property.generated_name %>
|
||||||
<% if property.type == 'boolean' -%>
|
<% if property.type == 'boolean' -%>
|
||||||
|
|
Loading…
Reference in New Issue