dtefacil_xml_builder 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module DtefacilXmlBuilder
|
|
20
20
|
#d = DteBuilder.new
|
21
21
|
|
22
22
|
|
23
|
-
response = RestClient.post 'https://ptoTicket:pt0T1ck3t@api.dtefacil.cl/1.2/documentos', f.render_xml, :content_type "
|
23
|
+
response = RestClient.post 'https://ptoTicket:pt0T1ck3t@api.dtefacil.cl/1.2/documentos', f.render_xml, :content_type => "application/xml"
|
24
24
|
puts response.headers[:location]
|
25
25
|
|
26
26
|
end
|