| Server IP : 68.178.247.200 / Your IP : 216.73.216.110 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /./opt/alt/ruby32/share/gems/doc/rest-client-2.1.0/ri/RestClient/Utils/ |
Upload File : |
U:RDoc::AnyMethod[iI"flatten_params:ETI"&RestClient::Utils::flatten_params;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ITransform deeply nested param containers into a flat array of [key, ;TI"value] pairs.;To:RDoc::Markup::BlankLine o;
; [I"
@example;To:RDoc::Markup::Verbatim; [I",>> flatten_params({key1: {key2: 123}})
;TI"=> [["key1[key2]", 123]]
;T:@format0o;
; [I"
@example;To;; [I":>> flatten_params({key1: {key2: 123, arr: [1,2,3]}})
;TI"Z=> [["key1[key2]", 123], ["key1[arr][]", 1], ["key1[arr][]", 2], ["key1[arr][]", 3]]
;T;
0o;
; [I"@@param object [Hash, ParamsArray] The container to flatten ;TI"G@param uri_escape [Boolean] Whether to URI escape keys and values ;TI"I@param parent_key [String] Should not be passed (used for recursion);T:
@fileI"lib/restclient/utils.rb;T:0@omit_headings_from_table_of_contents_below000[ I"/(object, uri_escape=false, parent_key=nil);T@#FI"
Utils;TcRDoc::NormalModule00