Method: Viewpoint::EWS::SOAP::Parser#parse
- Defined in:
- lib/soap/handsoap/parser.rb
#parse(opts) ⇒ Object
TODO:
Decide on an appropriate response if a method does not exist.
This is the main parser method. It takes the response type and tries to call a Ruby method of the same name.
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/soap/handsoap/parser.rb', line 40 def parse(opts) resp_method = @response_type.ruby_case if(respond_to?(resp_method)) puts "Method Exists: #{resp_method}" if $DEBUG method(resp_method).call(opts) else puts "No Method: #{resp_method}" if $DEBUG end @response_message end |