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