Methods
D
R
S
Instance Public methods
describe_property(property)
   # File rhino/rhino/lib/rhino/resource/active_record_tree.rb
20 def describe_property(property)
21   return super unless property == "children"
22 
23   super.deep_merge({ type: :array, items: ref_descriptor(model_name.element) })
24 end
readable_params(type, refs = references)

FIXME: Need to recurse to a MAX DEPTH

   # File rhino/rhino/lib/rhino/resource/active_record_tree.rb
27 def readable_params(type, refs = references)
28   # Remove the base children property and replace with hash
29   base_show = super - ["children"]
30   base_show + [children: [base_show]]
31 end
readable_properties()
   # File rhino/rhino/lib/rhino/resource/active_record_tree.rb
16 def readable_properties
17   super + ["children"]
18 end
serializable_hash(options = nil)
   # File rhino/rhino/lib/rhino/resource/active_record_tree.rb
36 def serializable_hash(options = nil)
37   super(options).merge(children: arrange_serializable_with_options(options))
38 end