webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
WebMock::Util::QueryMapper.values_to_query
Sets the query component for this URI from a Hash object. This method produces a query string using the :subscript notation. An empty Hash will result in a nil query.
Edit
git clone [email protected]:bblimke/webmock.git
cd webmock
open lib/webmock/util/query_mapper.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WebMock--Util--QueryMapper-values_to_query-for-pr
# Commit to gitgit add lib/webmock/util/query_mapper.rbgit commit -m "better docs for WebMock::Util::QueryMapper.values_to_query"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WebMock--Util--QueryMapper-values_to_query-for-pr
hub pull-request
# Celebrate!