Exception: ActiveResource::SSLError

Inherits:
ConnectionError show all
Defined in:
lib/active_resource/exceptions.rb

Overview

Raised when a OpenSSL::SSL::SSLError occurs.

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ SSLError

Returns a new instance of SSLError.



32
33
34
# File 'lib/active_resource/exceptions.rb', line 32

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



35
# File 'lib/active_resource/exceptions.rb', line 35

def to_s; @message ; end