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

Actually fix all docs for .return!

Fixes #527
This commit is contained in:
Andy Brody 2017-04-27 23:27:23 -04:00
parent 0b8d8dd6c6
commit 999d2f5c1c

View file

@ -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
}
```