Class: Zimbra::DelegateAuthTokenService
- Inherits:
-
HandsoapService
- Object
- Handsoap::Service
- HandsoapService
- Zimbra::DelegateAuthTokenService
- Defined in:
- lib/zimbra/delegate_auth_token.rb
Defined Under Namespace
Instance Method Summary collapse
Methods inherited from HandsoapService
#on_create_document, #on_response_document
Methods included from HandsoapUriOverrides
#envelope_namespace, #request_content_type, #uri
Methods included from HandsoapNamespaces
#request_namespaces, #response_namespaces
Methods included from HandsoapErrors
#http_error?, #http_not_found?, #on_after_create_http_request, #on_http_error, #report_error, #soap_fault_not_found?
Instance Method Details
#get_by_account_name(account_name) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/zimbra/delegate_auth_token.rb', line 21 def get_by_account_name(account_name) xml = invoke("n2:DelegateAuthRequest") do || Builder.get_by_account_name(, account_name) end return nil unless xml Parser.delegate_auth_token_response(account_name, xml) end |