templates/default/lib/_package.erb in gapic-generator-0.6.8 vs templates/default/lib/_package.erb in gapic-generator-0.6.9
- old
+ new
@@ -13,5 +13,9 @@
# client = <%= package.services.first.create_client_call %>
#
<%- end -%>
module <%= package.module_name %>
end
+<% @footer = capture do %>
+helper_path = ::File.join __dir__, "<%= package.package_directory_name %>", "<%= package.helpers_file_name %>"
+require "<%= package.helpers_require %>" if ::File.file? helper_path
+<% end %>