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 builder_soap_action(action, options = {})
        current_action = soap_actions[action]
        base_param_class = WashoutBuilder::Type.base_param_class
        return if base_param_class.blank?
        current_action[:builder_in] = base_param_class.parse_def(soap_config, options[:args])
        current_action[:builder_out] = base_param_class.parse_def(soap_config, options[:return])
        current_action[:args_description] = options[:args_description].present? && options[:args_description].is_a?(Hash) ? options[:args_description].stringify_keys : {}
        current_action
      end
def builder_soap_action ( action , options = { } ) current_action = soap_actions [ action ] base_param_class = WashoutBuilder :: Type . base_param_class return if base_param_class . blank? current_action [ :builder_in ] = base_param_class . parse_def ( soap_config , options [ :args ] ) current_action [ :builder_out ] = base_param_class . parse_def ( soap_config , options [ :return ] ) current_action [ :args_description ] = options [ :args_description ] . present? && options [ :args_description ] . is_a? ( Hash ) ? options [ :args_description ] . stringify_keys : { } current_action 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