lib/washout_builder/soap.rb
# Define a SOAP action +action+. The function has two required +options+:
# :args and :return. Each is a type +definition+ of format described in
# WashOut::Param#parse_def.
#
# An optional option :to can be passed to allow for names of SOAP actions
# which are not valid Ruby function names.
# @param  [Symbol, Class]  action the action that is requested
# @param [Hash] options  the options used for
#
# @return [void]
#
# @api public
Define a SOAP action +action+. The function has two required +options+:
:args and :return. Each is a type +definition+ of format described in
WashOut::Param#parse_def.

An optional option :to can be passed to allow for names of SOAP actions
which are not valid Ruby function names.
Define a SOAP action + action + . The function has two required + options + : : args and : return . Each is a type + definition + of format described in WashOut :: Param#parse_def . An optional option : to can be passed to allow for names of SOAP actions which are not valid Ruby function names .
def soap_action(action, options = {})
        original_soap_action(action, options)
        if action.is_a?(Symbol)
          if soap_config.camelize_wsdl.to_s == 'lower'
            action = action.to_s.camelize(:lower)
          elsif soap_config.camelize_wsdl
            action = action.to_s.camelize
          end
        end
        builder_soap_action(action, options)
      end
def soap_action ( action , options = { } ) original_soap_action ( action , options ) if action . is_a? ( Symbol ) if soap_config . camelize_wsdl . to_s == 'lower' action = action . to_s . camelize ( :lower ) elsif soap_config . camelize_wsdl action = action . to_s . camelize end end builder_soap_action ( action , options ) end
Define a SOAP action +action+.
Define a SOAP action + action + .
None
void
action
<not_specific>
options
<not_specific>
<not_specific>
options the options used for
options the options used for
api
None