Created
December 18, 2014 10:04
-
-
Save godfat/f89ab327dafe56bc8f0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SkipVerification | |
def verify_mode | |
OpenSSL::SSL::VERIFY_NONE | |
end | |
end | |
HTTPClient::SSLConfig.prepend(SkipVerification) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment