Module: Appilf::Client::Alerts
- Included in:
- Appilf::Client
- Defined in:
- lib/appilf/client/alerts.rb
Instance Method Summary collapse
Instance Method Details
#alerts_path ⇒ Object
13 14 15 |
# File 'lib/appilf/client/alerts.rb', line 13 def alerts_path "#{authenticated_user_path}/alerts" end |
#list_alerts ⇒ Object
7 8 9 10 11 |
# File 'lib/appilf/client/alerts.rb', line 7 def list_alerts response = authenticated_api_get(alerts_path) # workaround since alert's response does not come within the data field Appilf::Util.translate_from_response({'data' => response}) end |