Class: Net::HTTP
- Inherits:
-
Object
- Object
- Net::HTTP
- Defined in:
- lib/core_extensions/net/http.rb
Instance Method Summary collapse
Instance Method Details
#original_use_ssl= ⇒ Object
6 |
# File 'lib/core_extensions/net/http.rb', line 6 alias_method :original_use_ssl=, :use_ssl= |
#use_ssl=(flag) ⇒ Object
8 9 10 11 12 |
# File 'lib/core_extensions/net/http.rb', line 8 def use_ssl=(flag) self.ca_file = NetHttpSslFix::LOCAL_CA_FILE self.verify_mode = OpenSSL::SSL::VERIFY_PEER self.original_use_ssl = flag end |