resource = RestClient::Resource.new('http://protected/resource', 'user', 'pass')
I have seen the above link, when i am serchng for http basic authentication with ruby. But my question is how to retreive and decode this user and pass for the login purpose?