Method: Savon::Client#method_missing
- Defined in:
- lib/savon/client.rb
#method_missing(method, *args, &block) ⇒ Object (private)
Dispatches requests to SOAP actions matching a given method name.
31 32 33 34 35 36 37 |
# File 'lib/savon/client.rb', line 31 def method_missing(method, *args, &block) #:doc: soap_call = soap_call_from method.to_s super if @wsdl.enabled? && !@wsdl.respond_to?(soap_call) setup_objects operation_from(soap_call), &block Response.new @request.soap(@soap) end |