Module: ZimbraWsdl

Defined in:
lib/zimbra_wsdl.rb,
lib/zimbra_wsdl/version.rb

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.admin_wsdlObject

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.expand_path('../zimbra.wsdl', __FILE__)
end