class HTTParty::Request::Body
def content_body(object)
def content_body(object) if file?(object) object = (file = object).read file.rewind if file.respond_to?(:rewind) end object.to_s end
def content_body(object) if file?(object) object = (file = object).read file.rewind if file.respond_to?(:rewind) end object.to_s end