mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
parent
0b8d8dd6c6
commit
999d2f5c1c
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ RestClient.get('http://example.com/resource') { |response, request, result, &blo
|
|||
when 423
|
||||
raise SomeCustomExceptionIfYouWant
|
||||
else
|
||||
response.return!(request, result, &block)
|
||||
response.return!(&block)
|
||||
end
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue