File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activeresource-6.0.0/ri/ActiveResource/CustomMethods/get-c.ri
U:RDoc::AnyMethod[iI"get:ETI"'ActiveResource::CustomMethods::get;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I">Invokes a GET to a given custom REST method. For example:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"4Person.get(:active) # GET /people/active.json
;TI"D# => [{:id => 1, :name => 'Ryan'}, {:id => 2, :name => 'Joe'}]
;TI"
;TI"SPerson.get(:active, :awesome => true) # GET /people/active.json?awesome=true
;TI"(# => [{:id => 1, :name => 'Ryan'}]
;T:@format0o;
; [ I"QNote: the objects returned from this method are not automatically converted ;TI"Zinto ActiveResource::Base instances - they are ordinary Hashes. If you are expecting ;TI"QActiveResource::Base instances, use the <tt>find</tt> class method with the ;TI"(<tt>:from</tt> option. For example:;T@o;; [I"(Person.find(:all, :from => :active);T;
0:
@fileI"*lib/active_resource/custom_methods.rb;T:0@omit_headings_from_table_of_contents_below000[ I"'(custom_method_name, options = {});T@FI"CustomMethods;TcRDoc::NormalModule00