Method: HTTPI::Auth::SSL#cert
- Defined in:
- lib/httpi/auth/ssl.rb
#cert ⇒ Object
Returns an OpenSSL::X509::Certificate for the cert_file.
56 57 58 |
# File 'lib/httpi/auth/ssl.rb', line 56 def cert @cert ||= OpenSSL::X509::Certificate.new File.read(cert_file) if cert_file end |