templates/default/service/client/_client.erb in gapic-generator-0.2.3 vs templates/default/service/client/_client.erb in gapic-generator-0.3.0
- old
+ new
@@ -1,21 +1,9 @@
<%- assert_locals service -%>
<% @requires = capture do %>
-require "gapic/common"
-require "gapic/config"
-require "gapic/config/method"
-
<%= render partial: "service/client/requires", locals: { service: service} -%>
-require "<%= service.gem.version_require %>"
require "<%= service.proto_service_require %>"
-require "<%= service.credentials_require %>"
-<%- if service.paths? -%>
-require "<%= service.paths_require %>"
-<%- end -%>
-<%- if service.lro? -%>
-require "<%= service.operations_require %>"
-<%- end -%>
<% end %>
##
# Client for the <%= service.name %> service.
#
<%- if service.doc_description -%>
@@ -135,9 +123,5 @@
<%= indent_tail render(partial: "service/client/method/def", locals: { method: method }), 2 %>
<%- end %>
<%= indent_tail render(partial: "service/client/config", locals: { service: service }), 2 %>
end
-
-<% @footer = capture do %>
-<%= render partial: "service/client/helpers", locals: { service: service} %>
-<% end %>