Exception: HTTPI::SSLError

Inherits:
Error
  • Object
show all
Defined in:
lib/httpi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, original = $!) ⇒ SSLError

Returns a new instance of SSLError.


96
97
98
99
# File 'lib/httpi.rb', line 96

def initialize(message = nil, original = $!)
  super(message || original.message)
  @original = original
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original


100
101
102
# File 'lib/httpi.rb', line 100

def original
  @original
end