Permalink
Browse files

Adding URLRetorno to XML

  • Loading branch information...
1 parent 6d80cc7 commit db1b879358c623b597dc1c221b53336f9f06db0e @danielweinmann danielweinmann committed Apr 18, 2011
Showing with 9 additions and 2 deletions.
  1. +8 −1 lib/moip/direct_payment.rb
  2. +1 −1 moip.gemspec
@@ -124,7 +124,14 @@ def body(attributes = {})
}
}
end
-
+
+ if attributes[:url_retorno]
+ # URL de retorno
+ xml.URLRetorno {
+ xml.text attributes[:url_retorno]
+ }
+ end
+
}
}
end
View
@@ -2,7 +2,7 @@
Gem::Specification.new do |gem|
gem.name = %q{moip}
- gem.version = "1.0.1"
+ gem.version = "1.0.2"
gem.authors = ["Guilherme Nascimento"]
gem.date = %q{2010-11-10}

0 comments on commit db1b879

Please sign in to comment.