Adam Wiggins
|
be75302792
|
organize specs to match lib
|
2009-01-24 14:55:18 -08:00 |
|
Pedro Belo
|
fd41d47025
|
add the http response to Unauthorized and ResourceNotFound too, in case the user wants to parse the body
|
2008-11-26 17:42:16 -08:00 |
|
Adam Wiggins
|
662972ce1a
|
remove xml parsing on failed requests
|
2008-07-20 14:48:52 -04:00 |
|
Pedro Belo
|
f62708401b
|
added a base exception class for all RestClient related exceptions
|
2008-06-25 19:02:02 -07:00 |
|
Pedro Belo
|
827b959b06
|
allow creation of RequestFailed without response to play nice with tests/specs
|
2008-06-23 13:51:42 -07:00 |
|
Pedro Belo
|
4d85b8cdfc
|
fixed backwards compatibility, they were pointing to the wrong module
|
2008-06-23 13:50:08 -07:00 |
|
Adam Wiggins
|
7511d49770
|
show http status code in default RequestFailed message
|
2008-06-20 19:23:48 -07:00 |
|
Pedro Belo
|
20e920e4f6
|
add backwards compatibility with RestClient::Resource exceptions
|
2008-06-12 11:21:39 -07:00 |
|
Pedro Belo
|
88660a038b
|
support default error messages in RequestFailed to avoid checking if message == "Unknown ..."
|
2008-06-11 15:08:31 -07:00 |
|
Pedro Belo
|
39f3513dae
|
enhance error rescuing in the RequestFailed class; parsing error messages when there's a xml in the response body
|
2008-06-11 12:31:39 -07:00 |
|