pgericson-handsoap 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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|
|