chore: Update generator to set client version for headers (#2141)
This commit is contained in:
1 parent
d2ed72fb53
commit
1e2aeaeeeb
311 files changed
+933
-311
No files matched your search
@@ -41,7 +41,9 @@ module Google
|
||||
|
||||
<% end -%>
|
||||
def initialize
|
||||
super('<%= api.root_url %>', '<%= api.service_path %>')
|
||||
super('<%= api.root_url %>', '<%= api.service_path %>',
|
||||
client_name: '<%= api.gem_name %>',
|
||||
client_version: <%= api.qualified_name %>::GEM_VERSION)
|
||||
@batch_path = '<%= api.batch_path %>'
|
||||
end
|
||||
<% for api_method in api.all_methods -%>
|
||||
|
||||
Reference in new issue
Block a user