More documentation cleanup

This commit is contained in:
Steven Bazyl 2012-09-28 16:29:51 -07:00
parent 9bd9ceb75c
commit 83ab4a681f
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)

View File

@ -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