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
58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/alinta-testing/overrides.rb', line 58 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 |