Class: Net::HTTPS

Inherits:
HTTP show all
Defined in:
lib/stratagem/extensions/net.rb

Instance Method Summary collapse

Constructor Details

#initialize(address, port = nil) ⇒ HTTPS

Returns a new instance of HTTPS.



5
6
7
8
# File 'lib/stratagem/extensions/net.rb', line 5

def initialize(address, port = nil)
  super(address, port)
  self.use_ssl = true
end