Fix stackoverflow tag, minor doc cleanup for batch API

This commit is contained in:
Steven Bazyl committed 2012-11-05 11:05:48 -08:00
1 parent 1c849c7e7a
commit b0b03cc363
2 files changed
+5 -6

No files matched your search

+2 -3
View File
@@ -59,12 +59,11 @@ module Google
# puts result.data
# end
#
# batch.add(:api_method=>urlshortener.url.insert, :body_object => { 'longUrl' => 'http://example.com/foo' })
# batch.add(:api_method=>urlshortener.url.insert, :body_object => { 'longUrl' => 'http://example.com/bar' })
# batch.add(:api_method => urlshortener.url.insert, :body_object => { 'longUrl' => 'http://example.com/foo' })
# batch.add(:api_method => urlshortener.url.insert, :body_object => { 'longUrl' => 'http://example.com/bar' })
#
# client.execute(batch)
#
class BatchRequest < Request
BATCH_BOUNDARY = "-----------RubyApiBatchRequest".freeze