Method: Mention::Account#fetch_mentions
- Defined in:
- lib/mention/account.rb
#fetch_mentions(alert, params = {}) ⇒ Object
| 43 44 45 46 | # File 'lib/mention/account.rb', line 43 def fetch_mentions(alert, params = {}) raw_data = JSON.parse(resource["/alerts/#{alert.id}/mentions"].get params: params) MentionList.new(raw_data) end |