pgericson-handsoap 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/handsoap/service.rb +1 -1
- metadata +1 -1
data/lib/handsoap/service.rb
CHANGED
@@ -327,7 +327,7 @@ module Handsoap
|
|
327
327
|
#Used to iterate over a Hash, that can include Hash, Array or String/Float/Integer etc and insert it in the correct element.
|
328
328
|
def iterate_hash(element, hash)
|
329
329
|
hash.each do |name,value|
|
330
|
-
if
|
330
|
+
if value.is_a?(Hash)
|
331
331
|
element.add(name){|subelement| iterate_hash(subelement, value)}
|
332
332
|
elsif value.is_a?(Array)
|
333
333
|
value.each do |item|
|