Class: RestClient::Request
- Inherits:
-
Object
- Object
- RestClient::Request
- Defined in:
- lib/alinta-testing/overrides.rb
Instance Method Summary collapse
Instance Method Details
#verify_ssl ⇒ Object
70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/alinta-testing/overrides.rb', line 70 def verify_ssl if RestClient.verify_ssl_set? if RestClient.verify_ssl OpenSSL::SSL::VERIFY_PEER else OpenSSL::SSL::VERIFY_NONE end else @ssl_opts.fetch(:verify_ssl) end end |