--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Deletes the resources with the ID in the <tt>id</tt> parameter.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Options
- !ruby/struct:SM::Flow::P 
  body: All options specify prefix and query parameters.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  Event.delete(2) # sends DELETE /events/2\n\n  Event.create(:name =&gt; 'Free Concert', :location =&gt; 'Community Center')\n  my_event = Event.find(:first) # let's assume this is event with ID 7\n  Event.delete(my_event.id) # sends DELETE /events/7\n\n  # Let's assume a request to events/5/cancel.xml\n  Event.delete(params[:id]) # sends DELETE /events/5\n"
full_name: ActiveResource::Base::delete
is_singleton: true
name: delete
params: (id, options = {})
visibility: public
