Skip to content

Commit 9bcf818

Browse files
st0012jeremyevans
authored andcommitted
Use proper rdoc-ref to link to OpenSSL::SSL::SSLContext methods
Since `net-http` doesn't have its own documentation site and is always included in the Ruby documentation, we should use the proper `rdoc-ref` to link to `OpenSSL::SSL::SSLContext` methods, not linking to `docs.ruby-lang.org`.
1 parent 5e34e74 commit 9bcf818

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/net/http.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,11 +1546,11 @@ def use_ssl=(flag)
15461546
attr_accessor :cert_store
15471547

15481548
# Sets or returns the available SSL ciphers.
1549-
# See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D].
1549+
# See {OpenSSL::SSL::SSLContext#ciphers=}[OpenSSL::SSL::SSL::Context#ciphers=].
15501550
attr_accessor :ciphers
15511551

15521552
# Sets or returns the extra X509 certificates to be added to the certificate chain.
1553-
# See {OpenSSL::SSL::SSLContext#add_certificate}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate].
1553+
# See {OpenSSL::SSL::SSLContext#add_certificate}[OpenSSL::SSL::SSL::Context#add_certificate].
15541554
attr_accessor :extra_chain_cert
15551555

15561556
# Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
@@ -1560,15 +1560,15 @@ def use_ssl=(flag)
15601560
attr_accessor :ssl_timeout
15611561

15621562
# Sets or returns the SSL version.
1563-
# See {OpenSSL::SSL::SSLContext#ssl_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ssl_version-3D].
1563+
# See {OpenSSL::SSL::SSLContext#ssl_version=}[OpenSSL::SSL::SSL::Context#ssl_version=].
15641564
attr_accessor :ssl_version
15651565

15661566
# Sets or returns the minimum SSL version.
1567-
# See {OpenSSL::SSL::SSLContext#min_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D].
1567+
# See {OpenSSL::SSL::SSLContext#min_version=}[OpenSSL::SSL::SSL::Context#min_version=].
15681568
attr_accessor :min_version
15691569

15701570
# Sets or returns the maximum SSL version.
1571-
# See {OpenSSL::SSL::SSLContext#max_version=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D].
1571+
# See {OpenSSL::SSL::SSLContext#max_version=}[OpenSSL::SSL::SSL::Context#max_version=].
15721572
attr_accessor :max_version
15731573

15741574
# Sets or returns the callback for the server certification verification.
@@ -1584,7 +1584,7 @@ def use_ssl=(flag)
15841584

15851585
# Sets or returns whether to verify that the server certificate is valid
15861586
# for the hostname.
1587-
# See {OpenSSL::SSL::SSLContext#verify_hostname=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode].
1587+
# See {OpenSSL::SSL::SSLContext#verify_hostname=}[OpenSSL::SSL::SSL::Context#verify_hostname=].
15881588
attr_accessor :verify_hostname
15891589

15901590
# Returns the X509 certificate chain (an array of strings)

0 commit comments

Comments
 (0)