Module: Jenkins2::API::RoleStrategy

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

Overview

Provides support for role-strategy plugin. Allows creating, deleting, assigning, unassigning and listing roles.

Defined Under Namespace

Modules: RoleType Classes: Proxy

Instance Method Summary collapse

Instance Method Details

#rolesObject

Step into proxy for managing roles in role-strategy.

Returns:

A proxy object that enables different operations on roles.



17
18
19
# File 'lib/jenkins2/api/role_strategy.rb', line 17

def roles
	Proxy.new connection, 'role-strategy/strategy'
end