X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4d3c1801b7dccf5f2938b2a9ddbbb88da0e32e96..7c714b836e7146cb767861e51cf2c990e8844998:/lib/google/api_client/batch.rb diff --git a/lib/google/api_client/batch.rb b/lib/google/api_client/batch.rb index 03804821f1..0efb174476 100644 --- a/lib/google/api_client/batch.rb +++ b/lib/google/api_client/batch.rb @@ -24,9 +24,13 @@ module Google # # @api private class BatchedCallResponse + # @return [String] UUID of the call attr_reader :call_id - attr_accessor :status + # @return [Fixnum] HTTP status code + attr_accessor :status + # @return [Hash] HTTP response headers attr_accessor :headers + # @return [String] HTTP response body attr_accessor :body ## @@ -34,7 +38,7 @@ module Google # # @param [String] call_id # UUID of the original call - # @param [Integer] status + # @param [Fixnum] status # HTTP status # @param [Hash] headers # HTTP response headers @@ -64,7 +68,9 @@ module Google class BatchRequest < Request BATCH_BOUNDARY = "-----------RubyApiBatchRequest".freeze - attr_reader :calls, :callbacks + # @api private + # @return [Array<(String,Google::APIClient::Request,Proc)] List of API calls in the batch + attr_reader :calls ## # Creates a new batch request.