Commit Graph

15 Commits

Author SHA1 Message Date
Mike Moore 4d81ad116a Fix warning: instance variable not initialized
Initialize the variables to avoid the warning.

Addresses the following warnings:

lib/google/api_client/auth/storage.rb:51: warning: instance variable @authorization not initialized
lib/google/api_client/batch.rb:128: warning: instance variable @global_callback not initialized
2015-03-25 17:10:00 -06:00
Mike Moore 349c26fa8b Fix warning: assigned but unused variable
There are several places where varaibles are assigned but not used.
The variables can be replaced with _, or prepended with _ to avoid a warning.
In one case the variable was removed because it was at the end of the method.

Addresses the following warnings:

lib/google/api_client.rb:493: warning: assigned but unused variable - key
lib/google/api_client/batch.rb:168: warning: assigned but unused variable - callback
lib/google/api_client/batch.rb:227: warning: assigned but unused variable - base
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - protocol
lib/google/api_client/batch.rb:271: warning: assigned but unused variable - reason
lib/google/api_client/request.rb:247: warning: assigned but unused variable - request_env
2015-03-25 17:03:20 -06:00
Steven Bazyl d999033fd6 #159 - Excute batch requests using the service's connection 2014-12-16 20:52:57 -08:00
Abdelkader Boudih 2ba98c3332 Dropped uuidtools 2014-10-08 12:03:28 +00:00
Steven Bazyl ef4c5c1f2f Fix URI in batched request to allow query parameters 2013-02-15 13:13:58 -08:00
Steven Bazyl b0b03cc363 Fix stackoverflow tag, minor doc cleanup for batch API 2012-11-05 11:05:48 -08:00
Steven Bazyl cd37e4bfea Doc improvements 2012-10-10 14:28:46 -06:00
Steven Bazyl 83ab4a681f More documentation cleanup 2012-10-10 14:28:46 -06:00
Steven Bazyl 9bd9ceb75c More documentation cleanup 2012-10-10 14:28:45 -06:00
Steven Bazyl 1fca089d62 Mostly doc updates, +remove support for method as string 2012-10-10 14:28:45 -06:00
Steven Bazyl fc45135fcd Continue internal shuffling... 2012-10-10 14:28:45 -06:00
Steven Bazyl 2c6bf97b20 Unify processing of api/resumable/batch requests 2012-10-10 14:25:43 -06:00
Steven Bazyl 5d2a6d4842 Begin consolidation of request building in reference. Further changes coming to simplify batch + media handling 2012-10-10 14:24:25 -06:00
Sergio Gomes 2666acc24a Moving BatchError to errors.rb 2012-05-18 10:45:54 +01:00
Sergio Gomes a666d52770 Adding batch support 2012-05-16 20:05:24 +01:00