one-click-orgs

https://github.com/oneclickorgs/one-click-orgs

Ruby

Create legal organisations with just one click

OneClickOrgs::NotificationConsumer#has_seen_notification?

Check if this notification has been shown to user already.

after the timestamp when checking to see if the member has already seen this notification.

Source | Google | Stack overflow

Edit

git clone [email protected]:oneclickorgs/one-click-orgs.git

cd one-click-orgs

open lib/one_click_orgs/notification_consumer.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-OneClickOrgs--NotificationConsumer-has_seen_notification--for-pr


# Commit to git

git add lib/one_click_orgs/notification_consumer.rbgit commit -m "better docs for OneClickOrgs::NotificationConsumer#has_seen_notification?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-OneClickOrgs--NotificationConsumer-has_seen_notification--for-pr

hub pull-request


# Celebrate!