Sha256: 9ddf6088e9a9312009fc6d0cd1f5bef27b9834adb3d7995906d97eac5b54a6a4

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 Bytes

Contents

class Sysdig::Login < Sysdig::Request
  def real(username, password)
    service.request_without_authentication(
      :method => :post,
      :path   => "/api/login",
      :body   => { "username"  => username, "password" => password },
    )
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sysdig-0.3.1 lib/sysdig/login.rb
sysdig-0.3.0 lib/sysdig/login.rb
sysdig-0.2.4 lib/sysdig/login.rb
sysdig-0.2.3 lib/sysdig/login.rb
sysdig-0.2.0 lib/sysdig/login.rb
sysdig-0.1.0 lib/sysdig/login.rb