ip2k / google-api-ruby-client

Automatically exported from code.google.com/p/google-api-ruby-client
Apache License 2.0
0 stars 0 forks source link

discovery documents cannot be added at class level #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I expect there to be a class level implementation of 
register_discovery_document on Google::APIClient
so that additional discovery documents can be loaded via an initializer instead 
of each instance of the client.

Original issue reported on code.google.com by joshuama...@google.com on 18 Mar 2013 at 11:57

GoogleCodeExporter commented 9 years ago
Its not necessary. Discovered APIs are independent of the client instance. Once 
you load an API you can just keep a reference to it and share it among clients.

Original comment by sba...@google.com on 26 Mar 2013 at 4:48