Module: Jenkins2::API::User

Included in:
Jenkins2::API
Defined in:
lib/jenkins2/api/user.rb

Defined Under Namespace

Modules: Me, People Classes: Proxy

Instance Method Summary collapse

Instance Method Details

#me(**params) ⇒ Object



6
7
8
# File 'lib/jenkins2/api/user.rb', line 6

def me(**params)
	Me::Proxy.new connection, 'me', params
end

#people(**params) ⇒ Object



16
17
18
# File 'lib/jenkins2/api/user.rb', line 16

def people(**params)
	People::Proxy.new connection, 'people', params
end

#user(id, **params) ⇒ Object



10
11
12
13
14
# File 'lib/jenkins2/api/user.rb', line 10

def user(id, **params)
	proxy = Proxy.new connection, 'user', params
	proxy.id = id
	proxy
end