Exception: RHC::Rest::SSLConnectionFailed

Inherits:
ConnectionException show all
Defined in:
lib/rhc/rest.rb

Instance Attribute Summary collapse

Attributes inherited from Exception

#code

Instance Method Summary collapse

Constructor Details

#initialize(reason, message) ⇒ SSLConnectionFailed

Returns a new instance of SSLConnectionFailed.



125
126
127
128
# File 'lib/rhc/rest.rb', line 125

def initialize(reason, message)
  super message
  @reason = reason
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



124
125
126
# File 'lib/rhc/rest.rb', line 124

def reason
  @reason
end