Class: Zm::Client::SoapBaseConnector
- Inherits:
-
Object
- Object
- Zm::Client::SoapBaseConnector
- Defined in:
- lib/zm/client/connector/soap_base.rb
Direct Known Subclasses
Constant Summary collapse
- BASESPACE =
'urn:zimbra'- HTTP_HEADERS =
{ 'Content-Type' => 'application/json; charset=utf-8' }.freeze
- BODY =
:Body
Instance Method Summary collapse
-
#initialize(scheme, host, port, soap_path) ⇒ SoapBaseConnector
constructor
A new instance of SoapBaseConnector.
- #verbose! ⇒ Object
Constructor Details
#initialize(scheme, host, port, soap_path) ⇒ SoapBaseConnector
Returns a new instance of SoapBaseConnector.
19 20 21 22 23 24 |
# File 'lib/zm/client/connector/soap_base.rb', line 19 def initialize(scheme, host, port, soap_path) extend(ZmLogger) @verbose = false @uri = URI::HTTP.new(scheme, nil, host, port, nil, soap_path, nil, nil, nil) init_curl_client end |
Instance Method Details
#verbose! ⇒ Object
26 27 28 29 |
# File 'lib/zm/client/connector/soap_base.rb', line 26 def verbose! @verbose = true @curl.verbose = @verbose end |