Class: Mention::Alert

Inherits:
Object
  • Object
show all
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(, params = {})
  .fetch_mentions(self, params)
end

#remove_from(account) ⇒ Object



17
18
19
20
# File 'lib/mention/alert.rb', line 17

def remove_from()
  share = share_for()
  .remove_alert(self, share)
end