Class: AdsCommonForAdcenter::Build::SavonRegistry
- Inherits:
-
Object
- Object
- AdsCommonForAdcenter::Build::SavonRegistry
- Defined in:
- lib/ads_common_for_adcenter/build/savon_registry.rb
Instance Method Summary collapse
-
#extract_input_parameters(op_node, doc) ⇒ Object
Extracts input parameters of given method as an array.
Instance Method Details
#extract_input_parameters(op_node, doc) ⇒ Object
Extracts input parameters of given method as an array.
5 6 7 8 9 10 |
# File 'lib/ads_common_for_adcenter/build/savon_registry.rb', line 5 def extract_input_parameters(op_node, doc) input_element = REXML::XPath.first(op_node, 'descendant::wsdl:input') input_name = get_element_name(input_element) input_fields = find_sequence_fields(input_name, doc) return {:name => input_name.snakecase, :fields => input_fields} end |