module Appilf::Client::Alerts

Public Instance Methods

alerts_path() click to toggle source
# File lib/appilf/client/alerts.rb, line 13
def alerts_path
  "#{authenticated_user_path}/alerts"
end
list_alerts() click to toggle source
# 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