More documentation cleanup
[arvados.git] / lib / google / api_client / batch.rb
index 03804821f149475a275e8272c5f75ca5a181d181..0efb174476a373c4bf47214fadfc9840bab99490 100644 (file)
@@ -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.