Class: Net::HTTPS
- Inherits:
-
HTTP
- Object
- HTTP
- Net::HTTPS
- Defined in:
- lib/ruby-paypal/paypal.rb
Overview
A convenience class to enable this library to call PayPal’s HTTPS NVP APIs
Instance Method Summary collapse
-
#initialize(address, port = nil, verify = :no_verify) ⇒ HTTPS
constructor
A new instance of HTTPS.
Constructor Details
#initialize(address, port = nil, verify = :no_verify) ⇒ HTTPS
Returns a new instance of HTTPS.
16 17 18 19 20 |
# File 'lib/ruby-paypal/paypal.rb', line 16 def initialize(address, port = nil, verify = :no_verify) super(address, port) self.use_ssl = true self.verify_mode = OpenSSL::SSL::VERIFY_NONE if verify == :no_verify end |