webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
Net::WebMockHTTPResponse#read_body
No Docs, write some!
Edit
git clone [email protected]:bblimke/webmock.git
cd webmock
open lib/webmock/http_lib_adapters/net_http_response.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Net--WebMockHTTPResponse-read_body-for-pr
# Commit to gitgit add lib/webmock/http_lib_adapters/net_http_response.rbgit commit -m "better docs for Net::WebMockHTTPResponse#read_body"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Net--WebMockHTTPResponse-read_body-for-pr
hub pull-request
# Celebrate!