Sha256: 2a4b5a0d8d419089b96c62691b8bcd9ab8accdbc0f683f1a1835bbaecb51f647
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
[Parameters:] - array (Array) An array of parameter key,value pairs. These pairs may be 2 element arrays [key, value] or single element hashes {key => value}. They may also be single element arrays to represent a key with no value. *Examples*: ParamsArray.new([[:foo, 123], [:foo, 456], [:bar, 789]]) This will be encoded as "foo=123&foo=456&bar=789" ParamsArray.new({foo: 123, bar: 456}) This is valid, but there's no reason not to just use the Hash directly instead of a ParamsArray.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rest-man-1.1.0 | _doc/lib/restman/params_array/new.rdoc |