Class: Virtuozzo::SOAP::Drivers::Alertm

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/virtuozzo/soap/drivers/alertm.rb

Overview

Alertm

Constant Summary collapse

DefaultEndpointUrl =
"https://localhost:4646"
Methods =
[
  [ nil,
    "get_alerts",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/alertm", "get_alerts"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/alertm", "get_alertsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "subscribe_alert",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/alertm", "subscribe_alert"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/alertm", "subscribe_alertResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ nil,
    "unsubscribe_alert",
    [ ["in", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/alertm", "unsubscribe_alert"]],
      ["out", "parameter", ["::SOAP::SOAPElement", "http://www.swsoft.com/webservices/vzl/4.0.0/alertm", "unsubscribe_alertResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ Alertm

Returns a new instance of Alertm.



41
42
43
44
45
46
47
# File 'lib/virtuozzo/soap/drivers/alertm.rb', line 41

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = Virtuozzo::SOAP::MappingRegistries::Alertm::EncodedRegistry
  self.literal_mapping_registry = Virtuozzo::SOAP::MappingRegistries::Alertm::LiteralRegistry
  init_methods
end