Resting Pug logo Resting Pug

Description

Destroys a subject by id

Example

Request:
DELETE http://your.awesome/api/books/1

Response:
204 No Content

How to customize

Use

Source code

# lib/resting_pug/actions.rb

def destroy
  run_chain(destroy_chain)
end
Find me on GitHub