Sha256: 3d3a4d81f73825402143896f980cda7b7ba72a45e9ca10866b7c3d22ff259288

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

class Sysdig::UpdateAlert < Sysdig::Request
  # @note alert[version] might mean lock version which should be fun
  def real(alert_id, alert)
    service.request(
      :method => :put,
      :path   => File.join("/api/alerts", alert_id.to_s),
      :body   => { "alert" => alert },
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sysdig-0.2.0 lib/sysdig/update_alert.rb