added redact function to Attachments.php

Added the redact method of the Attachments endpoint