From 1fc0ec2f9e5647d4aebbe9b358e3260241953d44 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Fri, 28 Jun 2019 19:00:31 -0300 Subject: [PATCH] Update TLS v1 to TLS v1.2 --- lib/meli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/meli.rb b/lib/meli.rb index ae79463..d478cba 100644 --- a/lib/meli.rb +++ b/lib/meli.rb @@ -27,7 +27,7 @@ def initialize(app_id = nil, secret = nil, access_token = nil, refresh_token = n @https = Net::HTTP.new(api_url.host, api_url.port) @https.use_ssl = true @https.verify_mode = OpenSSL::SSL::VERIFY_PEER - @https.ssl_version = :TLSv1 + @https.ssl_version = :TLSv1_2 end #AUTH METHODS