Class: Net::HTTPS
- Inherits:
-
HTTP
- Object
- HTTP
- Net::HTTPS
- Defined in:
- lib/google/net/https.rb
Overview
Helper Method for using SSL
Instance Method Summary (collapse)
-
- (HTTPS) initialize(address, port = nil)
constructor
Setup a secure connection with defaults.
Constructor Details
- (HTTPS) initialize(address, port = nil)
Setup a secure connection with defaults
12 13 14 15 16 |
# File 'lib/google/net/https.rb', line 12 def initialize(address, port = nil) super(address, port) self.use_ssl = true self.verify_mode = OpenSSL::SSL::VERIFY_NONE end |