Commit Graph

16 Commits

Author SHA1 Message Date
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 ec670e9fa0 Resolve merge conflict 2014-12-15 11:50:16 -08:00
Pascal Brogle 66a1e15a82 only upload media if there is one 2014-12-07 10:43:30 +01:00
Abdelkader Boudih 2ba98c3332 Dropped uuidtools 2014-10-08 12:03:28 +00:00
Steven Bazyl c06f4edb1e Set content length for media uploads 2014-01-22 15:32:35 -08:00
Skip Baney 4143d900e0 don't require faraday/utils; faraday already includes it 2013-08-02 17:13:15 -05:00
Steven Bazyl e8e2350612 Issue #57 - rewind body if possible when retrying 2013-06-18 16:35:38 -07:00
Steven Bazyl c45740b81c Fix normalization of parmeters keys 2013-06-18 15:51:46 -07:00
Steven Bazyl 903e568a65 No longer buffer chunks/files when using resumable upload 2013-06-18 12:15:02 -07:00
Steven Bazyl f7307ec35d Remove unnecessary require 2013-05-31 17:22:18 -07:00
Steven Bazyl d68dc4d27e Don't attempt resumable upload if initial response failed (Issue #32) 2013-05-31 15:41:00 -07:00
Steven Bazyl 794c6a90f7 Upgrade to Faraday 0.9 (fixes params encoding problems) 2013-05-13 14:03:49 -07:00
Steven Bazyl f421551018 Fix duplication of parameters in qeuery string 2013-01-22 22:14:50 -08:00
Steven Bazyl 1d7315ee9b Sprinkle of logging 2013-01-04 16:14:14 -08:00
Ranjib Dey bd04489a43 Ranjib| there is n method/instance variable named options inside serialize, to_hash should be invoke on 'body' instead 2012-12-27 13:36:08 -08:00
Steven Bazyl 8799e3a689 Move request class to its own file 2012-10-10 14:28:46 -06:00