Class: Net::HTTPS

Inherits:
HTTP
  • Object
show all
Defined in:
lib/google/net/https.rb

Overview

Helper Method for using SSL

Instance Method Summary (collapse)

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