Class: Registration::Storage::SSLErrors

Inherits:
Struct
  • Object
show all
Includes:
Singleton
Defined in:
src/lib/registration/storage.rb

Overview

remember the details about SSL verification failure the attributes are read from the SSL error context

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ssl_error_codeObject

Returns the value of attribute ssl_error_code


77
78
79
# File 'src/lib/registration/storage.rb', line 77

def ssl_error_code
  @ssl_error_code
end

#ssl_error_msgObject

Returns the value of attribute ssl_error_msg


77
78
79
# File 'src/lib/registration/storage.rb', line 77

def ssl_error_msg
  @ssl_error_msg
end

#ssl_failed_certObject

Returns the value of attribute ssl_failed_cert


77
78
79
# File 'src/lib/registration/storage.rb', line 77

def ssl_failed_cert
  @ssl_failed_cert
end

Instance Method Details

#resetObject


80
81
82
83
84
# File 'src/lib/registration/storage.rb', line 80

def reset
  self.ssl_error_code = nil
  self.ssl_error_msg = nil
  self.ssl_failed_cert = nil
end