Last active
December 14, 2015 01:28
-
-
Save littlemove/5006168 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> response | |
=> #<HTTParty::Response:0x1019182f8 parsed_response={"datos"=>{"codiclie"=>"UATG10560533", "email"=>"diego.fernandez.fernandez@gmail.com", "nombre"=>"Diego", "apellido1"=>"Fernández", "apellido2"=>nil, "deseainfo"=>"N", "TipoIdentificacion"=>"N", "NumeroIdentificacion"=>nil, "sexo"=>nil, "tipousuario"=>"ECI", "pais"=>"ESPAÑA", "provincia"=>nil, "codpostal"=>nil, "municipio"=>nil, "localidad"=>nil, "tipovia"=>nil, "via"=>nil, "numerovia"=>nil, "puerta"=>nil, "telefono1"=>nil, "telefono2"=>nil, "birthdate"=>nil, "idPais"=>"011", "cnumecli"=>"UATG10560533"}}, @response=#<Net::HTTPOK 200 OK readbody=true>, @headers={"set-cookie"=>["TESTPRE=r4049877317; path=/; expires=Fri, 1 Jan 2016 01:01:50 GMT", "JSESSIONID_PROFILE=0000dkYFKTufUw7IMb4bi62GktN:13e6chc1k; Path=/"], "p3p"=>["CP=\"NON CUR OTPi OUR NOR UNI\""], "content-type"=>["text/xml;charset=ISO-8859-1"], "date"=>["Thu, 21 Feb 2013 16:50:48 GMT"], "content-length"=>["680"], "content-language"=>["en-US"], "connection"=>["close"]}> | |
>> response.parsed_response | |
=> {"datos"=>{"codiclie"=>"UATG10560533", "email"=>"diego.fernandez.fernandez@gmail.com", "nombre"=>"Diego", "apellido1"=>"Fernández", "apellido2"=>nil, "deseainfo"=>"N", "TipoIdentificacion"=>"N", "NumeroIdentificacion"=>nil, "sexo"=>nil, "tipousuario"=>"ECI", "pais"=>"ESPAÑA", "provincia"=>nil, "codpostal"=>nil, "municipio"=>nil, "localidad"=>nil, "tipovia"=>nil, "via"=>nil, "numerovia"=>nil, "puerta"=>nil, "telefono1"=>nil, "telefono2"=>nil, "birthdate"=>nil, "idPais"=>"011", "cnumecli"=>"UATG10560533"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment