Skip to content

Commit

Permalink
Adding URLRetorno to XML
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweinmann committed Apr 18, 2011
1 parent 6d80cc7 commit db1b879
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion lib/moip/direct_payment.rb
Expand Up @@ -124,7 +124,14 @@ def body(attributes = {})
}
}
end


if attributes[:url_retorno]
# URL de retorno
xml.URLRetorno {
xml.text attributes[:url_retorno]
}
end

}
}
end
Expand Down
2 changes: 1 addition & 1 deletion moip.gemspec
Expand Up @@ -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}
Expand Down

0 comments on commit db1b879

Please sign in to comment.