templates/default/lib/_package.erb in gapic-generator-0.10.1 vs templates/default/lib/_package.erb in gapic-generator-0.11.0
- old
+ new
@@ -8,16 +8,20 @@
<%- unless package.empty? -%>
<%- if package.services.first.generate_grpc_clients? -%>
##
# To load this package, including all its services, and instantiate a <%= package.grpc_client_designation %>:
#
+# @example
+#
# require "<%= package.package_require %>"
# client = <%= package.services.first.create_client_call %>
#
<%- end -%>
<%- if package.services.first.generate_rest_clients? -%>
##
# To load this package, including all its services, and instantiate a REST client:
+#
+# @example
#
# require "<%= package.package_require %>"
# client = <%= package.services.first.rest.create_client_call %>
#
<%- end -%>