lib/atol/request/post_document.rb in atol-0.1.2 vs lib/atol/request/post_document.rb in atol-0.2
- old
+ new
@@ -30,10 +30,10 @@
if req_logger.respond_to?(:call)
req_logger.call(req)
end
- res = Net::HTTP.start(uri.hostname, uri.port) do |http|
+ res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(req)
end
if res_logger.respond_to?(:call)
res_logger.call(res)