Class: Mention::Alert
- Inherits:
-
Object
- Object
- Mention::Alert
- Defined in:
- lib/mention/alert.rb
Instance Method Summary collapse
Instance Method Details
#mentions(account, params = {}) ⇒ Object
22 23 24 |
# File 'lib/mention/alert.rb', line 22 def mentions(account, params = {}) account.fetch_mentions(self, params) end |
#remove_from(account) ⇒ Object
17 18 19 20 |
# File 'lib/mention/alert.rb', line 17 def remove_from(account) share = share_for(account) account.remove_alert(self, share) end |