Skip to content
instance method

URI::Generic#set_authority

set_authority(user, password, host, port = nil)

Protected setter for the authority info (user, password, host and port). If port is nil, default_port will be set.