method
password=
v2_6_3 -
Show latest stable
- Class:
URI::Generic
password=(password)public
Args
v |
Description
Public setter for the password component (with validation).
See also URI::Generic.check_password.
Usage
require 'uri' uri = URI.parse("http://john:[email protected]") uri.password = "V3ry_S3nsit1ve" uri.to_s #=> "http://john:[email protected]"