class Google::APIClient::BatchedCallResponse
Helper class to contain a response to an individual batched call.
@api private
Attributes
body[RW]
@return [String] HTTP response body
call_id[R]
@return [String] UUID of the call
headers[RW]
@return [Hash] HTTP response headers
status[RW]
@return [Fixnum] HTTP status code
Public Class Methods
new(call_id, status = nil, headers = nil, body = nil)
click to toggle source
Initialize the call response
@param [String] call_id
UUID of the original call
@param [Fixnum] status
HTTP status
@param [Hash] headers
HTTP response headers
@param [#read, to_str] body
Response body
# File lib/google/api_client/batch.rb, line 47 def initialize(call_id, status = nil, headers = nil, body = nil) @call_id, @status, @headers, @body = call_id, status, headers, body end