| 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/ParamsArray/ |
Upload File : |
U:RDoc::AnyMethod[iI"new:ETI"!RestClient::ParamsArray::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"M@param array [Array<Array>] An array of parameter key,value pairs. These;To:RDoc::Markup::Verbatim; [I"Ipairs may be 2 element arrays [key, value] or single element hashes
;TI"K{key => value}. They may also be single element arrays to represent a
;TI"key with no value.
;T:@format0o;
; [I"
@example;To;; [I"A>> ParamsArray.new([[:foo, 123], [:foo, 456], [:bar, 789]])
;TI"7This will be encoded as "foo=123&foo=456&bar=789"
;T;0o;
; [I"
@example;To;; [I".>> ParamsArray.new({foo: 123, bar: 456})
;TI"LThis is valid, but there's no reason not to just use the Hash directly
;TI"instead of a ParamsArray.;T;0:
@fileI"#lib/restclient/params_array.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(array);T@"FI"ParamsArray;TcRDoc::NormalClass00