added ssl verification

This commit is contained in:
olegphenomenon 2022-02-07 15:09:05 +02:00
parent 61c90b73ca
commit de9504fef7
5 changed files with 16 additions and 0 deletions

View file

@ -21,6 +21,9 @@ module EisBilling
'Accept' => TOKEN
}
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
http.post(invoice_generator_url, obj_data.to_json, headers)
end