module Gitlab::Client::Session
Overview
Defines methods related to session.
See http://docs.gitlab.com/ce/api/session.html
Direct including types
Defined in:
gitlab/client/session.crInstance Method Summary
-
#session(login : String, password : String) : JSON::Any
Creates a new user session.
Instance Method Detail
def session(login : String, password : String) : JSON::Any
#
Creates a new user session.
- param [String] login The email or username of a user.
- param [String] password The password of a user.
- return [JSON::Any] Information about logged in user.
client.session("[email protected]", "secret12345")
client.session("jack", "secret12345")