Class: Sysdig::GetAlert

Inherits:
Request
  • Object
show all
Defined in:
lib/sysdig/get_alert.rb

Instance Method Summary collapse

Instance Method Details

#real(alert_id) ⇒ Object



2
3
4
5
6
7
# File 'lib/sysdig/get_alert.rb', line 2

def real(alert_id)
  service.request(
    :method => :get,
    :path   => File.join("/api/alerts", alert_id.to_s),
  )
end