octobox

https://github.com/octobox/octobox

Ruby

📮Untangle your GitHub Notifications

NotificationsController#mark_read_selected

Mark selected notifications as read

:category: Notifications Actions

==== Parameters

* +:id+ - An array of IDs of notifications you'd like to mark as read. If ID is 'all', all notifications will be marked as read

==== Example

<code>POST notifications/mark_read_selected.json?id=all</code>
  HEAD 204

Source | Google | Stack overflow

Edit

git clone [email protected]:octobox/octobox.git

cd octobox

open app/controllers/notifications_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-NotificationsController-mark_read_selected-for-pr


# Commit to git

git add app/controllers/notifications_controller.rbgit commit -m "better docs for NotificationsController#mark_read_selected"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-NotificationsController-mark_read_selected-for-pr

hub pull-request


# Celebrate!