Exception: OldApiResource::RequestTimeout

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

Overview

Raised when a Timeout::Error occurs.

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Methods inherited from ConnectionError

#http_code

Constructor Details

#initialize(message) ⇒ RequestTimeout

Returns a new instance of RequestTimeout.



28
29
30
# File 'lib/old_api_resource/exceptions.rb', line 28

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



31
# File 'lib/old_api_resource/exceptions.rb', line 31

def to_s; @message ;end