Module: Artifactory::Permissions::V2::PermissionItems
- Defined in:
- lib/artifactory/permissions/v2/permission_items.rb,
lib/artifactory/permissions/v2/permission_items/base.rb,
lib/artifactory/permissions/v2/permission_items/user.rb,
lib/artifactory/permissions/v2/permission_items/group.rb
Defined Under Namespace
Classes: Base, Group, User
Class Method Summary
collapse
Class Method Details
.group(name:, permissions:, scope:) ⇒ Object
15
16
17
|
# File 'lib/artifactory/permissions/v2/permission_items.rb', line 15
def group(name:, permissions:, scope:)
Group.new name: name, permissions: permissions, scope: scope
end
|
.user(name:, permissions:, scope:) ⇒ Object
11
12
13
|
# File 'lib/artifactory/permissions/v2/permission_items.rb', line 11
def user(name:, permissions:, scope:)
User.new name: name, permissions: permissions, scope: scope
end
|