More documentation cleanup
This commit is contained in:
parent
4d441b0437
commit
7c714b836e
|
@ -26,7 +26,7 @@ module Google
|
||||||
class BatchedCallResponse
|
class BatchedCallResponse
|
||||||
# @return [String] UUID of the call
|
# @return [String] UUID of the call
|
||||||
attr_reader :call_id
|
attr_reader :call_id
|
||||||
# @return [Integer] HTTP status code
|
# @return [Fixnum] HTTP status code
|
||||||
attr_accessor :status
|
attr_accessor :status
|
||||||
# @return [Hash] HTTP response headers
|
# @return [Hash] HTTP response headers
|
||||||
attr_accessor :headers
|
attr_accessor :headers
|
||||||
|
@ -38,7 +38,7 @@ module Google
|
||||||
#
|
#
|
||||||
# @param [String] call_id
|
# @param [String] call_id
|
||||||
# UUID of the original call
|
# UUID of the original call
|
||||||
# @param [Integer] status
|
# @param [Fixnum] status
|
||||||
# HTTP status
|
# HTTP status
|
||||||
# @param [Hash] headers
|
# @param [Hash] headers
|
||||||
# HTTP response headers
|
# HTTP response headers
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
##
|
##
|
||||||
# Get the length of the stream
|
# Get the length of the stream
|
||||||
#
|
#
|
||||||
# @return [Integer]
|
# @return [Fixnum]
|
||||||
# Length of stream, in bytes
|
# Length of stream, in bytes
|
||||||
def length
|
def length
|
||||||
io.respond_to?(:length) ? io.length : File.size(local_path)
|
io.respond_to?(:length) ? io.length : File.size(local_path)
|
||||||
|
|
|
@ -43,7 +43,7 @@ module Google
|
||||||
alias_method :reference, :request # For compatibility with pre-beta clients
|
alias_method :reference, :request # For compatibility with pre-beta clients
|
||||||
|
|
||||||
# @!attribute [r] status
|
# @!attribute [r] status
|
||||||
# @return [Integer] HTTP status code
|
# @return [Fixnum] HTTP status code
|
||||||
# @!attribute [r] headers
|
# @!attribute [r] headers
|
||||||
# @return [Hash] HTTP response headers
|
# @return [Hash] HTTP response headers
|
||||||
# @!attribute [r] body
|
# @!attribute [r] body
|
||||||
|
|
Loading…
Reference in New Issue