Fix stackoverflow tag, minor doc cleanup for batch API
This commit is contained in:
1 parent
1c849c7e7a
commit
b0b03cc363
2 files changed
+5
-6
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user