Sha256: 23052edf7bfa6902a8b86273a034dc6c9b692c5ee814025baa10274d2c891193

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

class Sysdig::GetNotifications < 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

1 entries across 1 versions & 1 rubygems

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