Permalink
Browse files

xml builder can't handle Fixnums within a CDATA

  • Loading branch information...
1 parent dca9107 commit 7e6e6d12bab3c2ab6c71fe04938ca432154e0669 @chingor13 chingor13 committed Sep 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/exact_target/request_builder.rb
View
2 lib/exact_target/request_builder.rb
@@ -197,7 +197,7 @@ def triggeredsend_add(email, customer_key, attributes = {})
attributes.each do |key, value|
xml.Attributes do
xml.Name key.to_s
- xml.Value value
+ xml.Value {|v| v.cdata! value.to_s }
end
end
end

0 comments on commit 7e6e6d1

Please sign in to comment.