Zimbra SOAP API with jRuby
===

Hi I am right now learning zimbra SOAP API with ruby.Can anybody explain what does this piece of code does?

    prov = com.zimbra.cs.account.soap.SoapProvisioning.getAdminInstance
    info = prov.get_account_info(Provisioning::AccountBy.name, user)
    auth = prov.delegate_auth(Provisioning::AccountBy.name, user, 600)
    opts = ZMailbox::Options.new(auth.get_auth_token, info.get_admin_soap_url)
    mbx = ZMailbox.getMailbox(opts)

