Exception: RestClient::SSLCertificateNotVerified

Inherits:
Exception
  • Object
show all
Defined in:
lib/restclient/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exception

#message, #original_exception, #response

Instance Method Summary collapse

Methods inherited from Exception

#default_message, #http_body, #http_code, #http_headers, #to_s

Constructor Details

#initialize(message = 'SSL certificate not verified') ⇒ SSLCertificateNotVerified

Returns a new instance of SSLCertificateNotVerified.



239
240
241
242
# File 'lib/restclient/exceptions.rb', line 239

def initialize(message = 'SSL certificate not verified')
  super nil, nil
  self.message = message
end