Class: Otis::SoapClient
Constant Summary collapse
- DEFAULT_OPTIONS =
{log: false}
Instance Method Summary collapse
-
#initialize(map, wsdl, options = DEFAULT_OPTIONS) ⇒ SoapClient
constructor
A new instance of SoapClient.
- #operations ⇒ Object
Methods included from Hooks
Constructor Details
#initialize(map, wsdl, options = DEFAULT_OPTIONS) ⇒ SoapClient
Returns a new instance of SoapClient.
5 6 7 8 9 |
# File 'lib/otis/soap_client.rb', line 5 def initialize(map, wsdl, = DEFAULT_OPTIONS) @routes = map.routes .merge!(wsdl: wsdl) @client = Savon.client() end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Otis::Client
Instance Method Details
#operations ⇒ Object
11 12 13 |
# File 'lib/otis/soap_client.rb', line 11 def operations @client.operations end |