Browse files

Merge pull request #5 from danielweinmann/master

Merging
  • Loading branch information...
2 parents 63faf99 + db1b879 commit 5b9798b83683ceb12b57fcffb4e729abf34b6931 @herberthamaral herberthamaral committed May 14, 2011
Showing with 9 additions and 2 deletions.
  1. +8 −1 lib/moip/direct_payment.rb
  2. +1 −1 moip.gemspec
View
9 lib/moip/direct_payment.rb
@@ -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 moip.gemspec
@@ -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 5b9798b

Please sign in to comment.