Move scope @private tag to Representation so data classes are documented

This commit is contained in:
Steven Bazyl 2015-06-25 16:10:21 -07:00
parent babea07ef9
commit a1722c00e7
1 changed files with 1 additions and 1 deletions

View File

@ -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 %> }