No specific ssl verification needed.

This commit is contained in:
Señor Rolando 2013-12-13 21:21:24 +01:00
parent 50b69b7e68
commit d03aa93b20

View file

@ -38,6 +38,7 @@ class Repost < ActiveRecord::Base
uri = URI(uri_string)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
headers = {
'Authorization' => "Bearer " + access_token
}
@ -50,6 +51,7 @@ class Repost < ActiveRecord::Base
uri = URI(uri_string)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
headers = {
'Authorization' => "Bearer " + access_token
}