Class: Net::HTTPS

Inherits:
HTTP
  • Object
show all
Defined in:
lib/efax/outbound.rb

Overview

Helper class for making HTTPS requests

Class Method Summary collapse

Class Method Details

.start(address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil, &block) ⇒ Object

:nodoc:



10
11
12
13
14
# File 'lib/efax/outbound.rb', line 10

def self.start(address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil, &block) #:nodoc:
  https = new(address, port, p_addr, p_port, p_user, p_pass)
  https.use_ssl = true
  https.start(&block)
end