See Net::HTTPGenericRequest for attributes and methods. See Net::HTTP for usage examples.
METHOD = 'PUT'
REQUEST_HAS_BODY = true
RESPONSE_HAS_BODY = true