Move scope @private tag to Representation so data classes are documented
This commit is contained in:
parent
babea07ef9
commit
a1722c00e7
|
@ -1,7 +1,7 @@
|
||||||
<% if cls.type == 'object' -%>
|
<% if cls.type == 'object' -%>
|
||||||
|
|
||||||
# @private
|
|
||||||
class <%= cls.generated_class_name %>
|
class <%= cls.generated_class_name %>
|
||||||
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
<% if api.features && api.features.include?('dataWrapper') -%>
|
<% if api.features && api.features.include?('dataWrapper') -%>
|
||||||
self.representation_wrap = lambda { |args| :data if args[:unwrap] == <%= cls.generated_type %> }
|
self.representation_wrap = lambda { |args| :data if args[:unwrap] == <%= cls.generated_type %> }
|
||||||
|
|
Loading…
Reference in New Issue