Module: Zimbra::HandsoapAccountNamespaces
- Included in:
- HandsoapAccountService
- Defined in:
- lib/zimbra/handsoap_account_service.rb
Instance Method Summary collapse
Instance Method Details
#request_namespaces(doc) ⇒ Object
5 6 7 8 9 |
# File 'lib/zimbra/handsoap_account_service.rb', line 5 def request_namespaces(doc) doc.alias 'n1', "urn:zimbra" doc.alias 'n2', "urn:zimbraMail" doc.alias 'env', 'http://schemas.xmlsoap.org/soap/envelope/' end |
#response_namespaces(doc) ⇒ Object
10 11 12 |
# File 'lib/zimbra/handsoap_account_service.rb', line 10 def response_namespaces(doc) doc.add_namespace 'n2', "urn:zimbraMail" end |