method

ssl_context_accessor

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: Net::HTTP
ssl_context_accessor(name) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/https.rb, line 129
    def self.ssl_context_accessor(name)
      module_eval("def \#{name}\nreturn nil unless @ssl_context\n@ssl_context.\#{name}\nend\n\ndef \#{name}=(val)\n@ssl_context ||= OpenSSL::SSL::SSLContext.new\n@ssl_context.\#{name} = val\nend\n", __FILE__, __LINE__ + 1)
    end
Register or log in to add new notes.