Class: Sysdig::Login

Inherits:
Request
  • Object
show all
Defined in:
lib/sysdig/login.rb

Instance Method Summary collapse

Instance Method Details

#real(username, password) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/sysdig/login.rb', line 2

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