Update Rest.php
Merge pull request #18 from stell/patch-2

Method to delete an object