#11 Part 3/S1: RESTful: Destroy an Item
Closed this issue · 0 comments
sgwalker327 commented
RESTful: Destroy an Item
This endpoint should:
- destroy the corresponding record (if found) and any associated data
- destroy any invoice if this was the only item on an invoice
- NOT return any JSON body at all, and should return a 204 HTTP status code
- NOT utilize a Serializer (Rails will handle sending a 204 on its own if you just .destroy the object)