Credentials/auth in Ruby SOAP libs?


In Java we can do something like this:
lm = service.getlmapiSoap();

In Perl we can do something like this:
use SOAP::Lite ;
sub SOAP::Transport::HTTP::Client::get_basic_credentials {
return $USER => $PASS;

but I can’t seem to figure out how to pass user/password credentials in
Ruby, preferably with the WSDLDriver:

soap =

anyone know how to do this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs