Sha256: 1b88c5a1b598801350717b9d546786fc24ceac50d343280a4e2fc9ff7e5c7622

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

class Sysdig::GetAlertNotifications < Sysdig::Request
  def real(from, to)
    from_i = from.to_i * 1_000_000
    to_i   = to.to_i   * 1_000_000

    service.request(
      :path   => "/api/notifications",
      :params => {"from" => from_i, "to" => to_i},
    )
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sysdig-0.2.4 lib/sysdig/get_alert_notifications.rb
sysdig-0.2.3 lib/sysdig/get_alert_notifications.rb
sysdig-0.2.0 lib/sysdig/get_alert_notifications.rb