Class: Net::HTTPS
- Inherits:
-
HTTP
- Object
- HTTP
- Net::HTTPS
- Defined in:
- lib/efax/outbound.rb
Overview
Helper class for making HTTPS requests
Class Method Summary collapse
-
.start(address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil, &block) ⇒ Object
:nodoc:.
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 |