Merge branch 'master' of github.com:google/google-api-ruby-client

This commit is contained in:
Bob Aman 2012-08-30 12:16:49 +03:00
commit 2f630f6c1d
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ module Google
self.headers = options[:headers] || {}
if options[:media]
self.media = options[:media]
upload_type = parameters['uploadType'] || parameters['upload_type']
upload_type = self.parameters.find { |(k, _)| ['uploadType', 'upload_type'].include?(k) }.last
case upload_type
when "media"
if options[:body] || options[:body_object]