Method: Wgit::Response#size

Defined in:
lib/wgit/response.rb

#sizeInteger Also known as: length

Returns the size of the response body.

Returns:

  • (Integer)

    The response body size in bytes.



120
121
122
# File 'lib/wgit/response.rb', line 120

def size
  @body.size
end