Update generator to use batchPath instead of hardcoded path
This commit is contained in:
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) -%>
|
||||
|
||||
Reference in new issue
Block a user