def login
      response = client.request(:login) do
        soap.body = {
          :username => username,
          :password => password
        }
      end
      response.body[:login_response][:result]
    end
def login
      response = client.request(:login) do
        soap.body = {
          :username => username,
          :password => password
        }
      end
      response.body[:login_response][:result]
    end
Public: Perform the login request.

 Returns a hash with the session id and server urls.