washout_builder 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -26,9 +26,7 @@ module WashoutBuilderHelper
|
|
26
26
|
c_names = []
|
27
27
|
param.map.each do |obj|
|
28
28
|
nested = get_nested_complex_types(obj, defined)
|
29
|
-
nested
|
30
|
-
c_names << hash
|
31
|
-
end
|
29
|
+
c_names.concat(nested)
|
32
30
|
end
|
33
31
|
defined.concat(c_names)
|
34
32
|
end
|
@@ -41,9 +39,7 @@ module WashoutBuilderHelper
|
|
41
39
|
map.each do |operation, formats|
|
42
40
|
(formats[:input] + formats[:output]).each do |p|
|
43
41
|
nested = get_nested_complex_types(p, defined)
|
44
|
-
nested
|
45
|
-
defined << hash
|
46
|
-
end
|
42
|
+
defined.concat(nested)
|
47
43
|
end
|
48
44
|
end
|
49
45
|
defined << {:class =>"ValidationErrors", :obj => nil} unless get_fault_types_names(map).blank?
|
@@ -65,13 +61,7 @@ module WashoutBuilderHelper
|
|
65
61
|
end
|
66
62
|
|
67
63
|
def get_soap_action_names(map)
|
68
|
-
|
69
|
-
unless map.blank?
|
70
|
-
map.each do |operation, formats|
|
71
|
-
defined << operation.to_s
|
72
|
-
end
|
73
|
-
end
|
74
|
-
defined.sort_by { |name| name.downcase }.uniq unless defined.blank?
|
64
|
+
map.sort_by { |operation, formats| operation.downcase }.map{|operation, formats| operation.to_s }.uniq unless map.blank?
|
75
65
|
end
|
76
66
|
|
77
67
|
|