Permalink
Browse files

log xml

  • Loading branch information...
1 parent 9b31615 commit bd78301dbbacecb99c14eb8d992c3731b6aede43 Juan Maiz committed Sep 21, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/moip/client.rb
View
@@ -38,7 +38,10 @@ def verify account
# Envia uma instrução para pagamento único
def checkout(attributes = {})
- full_data = peform_action!(:post, 'EnviarInstrucao/Unica', :body => DirectPayment.body(attributes))
+ body = DirectPayment.body(attributes)
+ puts "************ XML ************"
+ puts body
@felipetio

felipetio Jun 25, 2014

Pode isso Arnaldo?

+ full_data = peform_action!(:post, 'EnviarInstrucao/Unica', :body => body)
# raise full_data.inspect
get_response!(full_data["ns1:EnviarInstrucaoUnicaResponse"]["Resposta"])
end

0 comments on commit bd78301

Please sign in to comment.