google-api-ruby-client/lib/google/apis/generator
Sai Cheemalapati b87af01703 Allow automatic method name clash resolution (#605)
If the method name is generated from the request type, there is a
possibility of a clash if two methods take the same request type. For
example, if two unique methods take the request type
"CreateRoleRequest", both methods will be generated with the method name
"create_role", which causes generation to fail with an exception.

This commit resolves that issue by first generating a method name from
the request type of each method, and keeping track of which names are
duplicates. For methods that will generate a duplicate name from the
request type, the name is generated from the method ID instead (the
resulting name is guaranteed to be unique).
2017-08-18 18:35:22 -04:00
..
templates Merge branch 'master' of https://github.com/sqrrrl/google-api-ruby-client into sqrrrl-master 2017-04-03 12:31:20 -07:00
annotator.rb Allow automatic method name clash resolution (#605) 2017-08-18 18:35:22 -04:00
helpers.rb Avoid overwritting parameters with local vars in method template 2015-08-13 12:08:28 -07:00
model.rb Make the generator deterministic (#601) 2017-07-18 09:56:05 -07:00
template.rb Import refactored library. See MIGRATING.MD for details 2015-06-23 15:15:14 -07:00