Sha256: eaef59e961fd8b2d41990c7ff375abe8a1730f8374ba59e7d765156234d49ed2

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

class Sysdig::CreateAlerts < Sysdig::Request
  def real(alert)
    service.request(
      :method => :post,
      :path   => "/api/alerts",
      :body   => { "alert" => alert },
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sysdig-0.1.0 lib/sysdig/create_alert.rb