Exception: ApiResource::SSLError

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

Overview

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

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Methods inherited from ConnectionError

#http_code

Constructor Details

#initialize(message) ⇒ SSLError

Returns a new instance of SSLError.



50
51
52
# File 'lib/api_resource/exceptions.rb', line 50

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



53
# File 'lib/api_resource/exceptions.rb', line 53

def to_s; @message ;end