Class: OpenSSL::X509::Store

Inherits:
Object
  • Object
show all
Defined in:
lib/httpclient/ssl_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*a, &b) ⇒ Store

Returns a new instance of Store.



47
48
49
50
# File 'lib/httpclient/ssl_config.rb', line 47

def initialize(*a, &b)
  super(*a, &b)
  @_httpclient_cert_store_items = [ENV['SSL_CERT_FILE'] || :default]
end

Instance Attribute Details

#_httpclient_cert_store_itemsObject (readonly)

Returns the value of attribute _httpclient_cert_store_items.



45
46
47
# File 'lib/httpclient/ssl_config.rb', line 45

def _httpclient_cert_store_items
  @_httpclient_cert_store_items
end