Skip to content

Instantly share code, notes, and snippets.

@godfat
Created December 18, 2014 10:04
Show Gist options
  • Save godfat/f89ab327dafe56bc8f0c to your computer and use it in GitHub Desktop.
Save godfat/f89ab327dafe56bc8f0c to your computer and use it in GitHub Desktop.
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