1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Merge pull request #178 from pote/spelling_error_in_readme

Corrects spelling error.
This commit is contained in:
Larry Gilbert 2013-08-01 11:32:49 -07:00
commit 24273a2423

View file

@ -84,7 +84,7 @@ See RestClient::Resource docs for details.
* for results code between 200 and 207 a RestClient::Response will be returned
* for results code 301, 302 or 307 the redirection will be followed if the request is a get or a head
* for result code 303 the redirection will be followed and the request transformed into a get
* for other cases a RestClient::Exception holding the Response will be raised, a specific exception class will be thrown for know error codes
* for other cases a RestClient::Exception holding the Response will be raised, a specific exception class will be thrown for known error codes
RestClient.get 'http://example.com/resource'
➔ RestClient::ResourceNotFound: RestClient::ResourceNotFound