module Net::HTTP::STFU
Public Instance Methods
use_ssl=(flag)
click to toggle source
Calls superclass method
# File lib/fbomb.rb, line 149 def use_ssl=(flag) super ensure @ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE end
warn(msg)
click to toggle source
# File lib/fbomb.rb, line 145 def warn(msg) #Kernel.warn(msg) unless msg == "warning: peer certificate won't be verified in this SSL session" end