Exception: RestClient::Exception

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/vendor/rest-client/lib/rest_client/request_errors.rb

Overview

catch any exception that your request might raise

Instance Method Summary collapse

Instance Method Details

#message(default = nil) ⇒ Object



5
6
7
# File 'lib/vendor/rest-client/lib/rest_client/request_errors.rb', line 5

def message(default=nil)
	self.class::ErrorMessage
end