Module: Artifactory::Permissions::V2::Commands
- Defined in:
- lib/artifactory/permissions/v2/commands.rb,
lib/artifactory/permissions/v2/commands/delete_item.rb,
lib/artifactory/permissions/v2/commands/upsert_item.rb,
lib/artifactory/permissions/v2/commands/save_permission.rb,
lib/artifactory/permissions/v2/commands/permission_item_command.rb
Defined Under Namespace
Classes: DeleteItem, PermissionItemCommand, SavePermission, UpsertItem
Class Method Summary
collapse
Class Method Details
.delete_item(permission_target:, item:) ⇒ Object
17
18
19
20
|
# File 'lib/artifactory/permissions/v2/commands.rb', line 17
def delete_item(permission_target:, item:)
DeleteItem.call permission_target: permission_target,
item: item
end
|
.save_permission_target(permission_target:, api_client:) ⇒ Object
22
23
24
25
|
# File 'lib/artifactory/permissions/v2/commands.rb', line 22
def save_permission_target(permission_target:, api_client:)
SavePermission.call permission_target: permission_target,
api_client: api_client
end
|
.upsert_item(permission_target:, item:) ⇒ Object
12
13
14
15
|
# File 'lib/artifactory/permissions/v2/commands.rb', line 12
def upsert_item(permission_target:, item:)
UpsertItem.call permission_target: permission_target,
item: item
end
|