deltavista_crif_dva_interface 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
@@ -51,12 +51,10 @@ module DeltavistaCrifDvaInterface
|
|
51
51
|
keys = PRIVATE_KEYS
|
52
52
|
node = PRIVATE_NODE
|
53
53
|
end
|
54
|
-
xml.
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
end
|
59
|
-
}
|
54
|
+
xml.__send__(node) {
|
55
|
+
keys.each do |key|
|
56
|
+
xml.send(key, address[key.downcase]) if address[key.downcase] && !address[key.downcase].empty?
|
57
|
+
end
|
60
58
|
}
|
61
59
|
xml.collectionInfo {
|
62
60
|
xml.amountTotal collection[:amount_total]
|