# File lib/active_resource/custom_methods.rb, line 56 def get(custom_method_name, options = {}) hashified = format.decode(connection.get(custom_method_collection_url(custom_method_name, options), headers).body) derooted = Formats.remove_root(hashified) derooted.is_a?(Array) ? derooted.map { |e| Formats.remove_root(e) } : derooted end