Class: Savon::WSDL
- Inherits:
-
Object
- Object
- Savon::WSDL
- Defined in:
- lib/savon/wsdl.rb
Overview
Savon::WSDL represents the WSDL document.
Instance Method Summary collapse
-
#choice_elements ⇒ Object
Returns an Array of choice elements.
-
#initialize(uri, http) ⇒ WSDL
constructor
Initializer expects the endpoint
uri
and a Net::HTTP instance (http
). -
#namespace_uri ⇒ Object
Returns the namespace URI.
-
#soap_actions ⇒ Object
Returns an Array of available SOAP actions.
-
#to_s ⇒ Object
Returns the body of the Net::HTTPResponse from the WSDL request.
Constructor Details
#initialize(uri, http) ⇒ WSDL
Initializer expects the endpoint uri
and a Net::HTTP instance (http
).
22 23 24 |
# File 'lib/savon/wsdl.rb', line 22 def initialize(uri, http) @uri, @http = uri, http end |
Instance Method Details
#choice_elements ⇒ Object
Returns an Array of choice elements.
17 18 19 |
# File 'lib/savon/wsdl.rb', line 17 def choice_elements @choice_elements ||= parse_choice_elements end |
#namespace_uri ⇒ Object
Returns the namespace URI.
7 8 9 |
# File 'lib/savon/wsdl.rb', line 7 def namespace_uri @namespace ||= parse_namespace_uri end |
#soap_actions ⇒ Object
Returns an Array of available SOAP actions.
12 13 14 |
# File 'lib/savon/wsdl.rb', line 12 def soap_actions @soap_actions ||= parse_soap_actions end |
#to_s ⇒ Object
Returns the body of the Net::HTTPResponse from the WSDL request.
27 28 29 |
# File 'lib/savon/wsdl.rb', line 27 def to_s @response ? @response.body : nil end |