File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activeresource-6.0.0/ri/ActiveResource/Base/delete-c.ri
U:RDoc::AnyMethod[iI"delete:ETI"!ActiveResource::Base::delete;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"=Deletes the resources with the ID in the +id+ parameter.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli : textI"Options;To;
; [I"6All options specify \prefix and query parameters.;T@S;;
i ;I"
Examples;To:RDoc::Markup::Verbatim; [
I".Event.delete(2) # sends DELETE /events/2
;TI"
;TI"LEvent.create(:name => 'Free Concert', :location => 'Community Center')
;TI"Jmy_event = Event.find(:first) # let's assume this is event with ID 7
;TI"8Event.delete(my_event.id) # sends DELETE /events/7
;TI"
;TI"6# Let's assume a request to events/5/cancel.json
;TI"7Event.delete(params[:id]) # sends DELETE /events/5;T:@format0:
@fileI" lib/active_resource/base.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(id, options = {});T@ FI" Base;TcRDoc::NormalClass00