Module: ZimbraWsdl
- Defined in:
- lib/zimbra_wsdl.rb,
lib/zimbra_wsdl/version.rb
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
-
.admin_wsdl ⇒ Object
Returns the path to the zimbra admin wsdl document.
Class Method Details
.admin_wsdl ⇒ Object
Returns the path to the zimbra admin wsdl document.
Example:
require 'savon'
require 'zimbra_wsdl'
client = Savon::Client.new do
wsdl.document = ZimbraWsdl.admin_wsdl
wsdl.endpoint = 'https://zimbra.example.com:7071/service/admin/soap'
end
16 17 18 |
# File 'lib/zimbra_wsdl.rb', line 16 def self.admin_wsdl File.('../zimbra.wsdl', __FILE__) end |