class BatchedCallResponse
# @return [String] UUID of the call
attr_reader :call_id
- # @return [Integer] HTTP status code
+ # @return [Fixnum] HTTP status code
attr_accessor :status
# @return [Hash] HTTP response headers
attr_accessor :headers
#
# @param [String] call_id
# UUID of the original call
- # @param [Integer] status
+ # @param [Fixnum] status
# HTTP status
# @param [Hash] headers
# HTTP response headers
##
# Get the length of the stream
#
- # @return [Integer]
+ # @return [Fixnum]
# Length of stream, in bytes
def length
io.respond_to?(:length) ? io.length : File.size(local_path)
alias_method :reference, :request # For compatibility with pre-beta clients
# @!attribute [r] status
- # @return [Integer] HTTP status code
+ # @return [Fixnum] HTTP status code
# @!attribute [r] headers
# @return [Hash] HTTP response headers
# @!attribute [r] body