Update generator to use batchPath instead of hardcoded path

This commit is contained in:
Steven Bazyl committed 2017-03-06 12:24:30 -08:00
1 parent cf38f15a08
commit 687223feb4
3 files changed
+7

No files matched your search

@@ -42,6 +42,7 @@ module Google
<% end -%>
def initialize
super('<%= api.root_url %>', '<%= api.service_path %>')
@batch_path = '<%= api.batch_path %>'
end
<% for api_method in api.all_methods -%>
<%= indent(include('method', :api_method => api_method, :api => api), 8) -%>