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