Method: Gem::Net::HTTP#verify_hostname

Defined in:
lib/rubygems/vendor/net-http/lib/net/http.rb

#verify_hostnameObject

Sets or returns whether to verify that the server certificate is valid for the hostname. See OpenSSL::SSL::SSLContext#verify_hostname=.



1594
1595
1596
# File 'lib/rubygems/vendor/net-http/lib/net/http.rb', line 1594

def verify_hostname
  @verify_hostname
end