Module: Artifactory::Permissions::V2
- Defined in:
- lib/artifactory/permissions/v2.rb,
lib/artifactory/permissions/v2/commands.rb,
lib/artifactory/permissions/v2/api_client.rb,
lib/artifactory/permissions/v2/permission_items.rb,
lib/artifactory/permissions/v2/permission_target.rb,
lib/artifactory/permissions/v2/commands/delete_item.rb,
lib/artifactory/permissions/v2/commands/upsert_item.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,
lib/artifactory/permissions/v2/commands/save_permission.rb,
lib/artifactory/permissions/v2/commands/permission_item_command.rb
Defined Under Namespace
Modules: Commands, PermissionItems
Classes: ApiClient, PermissionTarget
Class Method Summary
collapse
Class Method Details
.api_client(endpoint:, api_key:) ⇒ Object
11
12
13
14
|
# File 'lib/artifactory/permissions/v2.rb', line 11
def api_client(endpoint:, api_key:)
ApiClient.new endpoint: endpoint,
api_key: api_key
end
|
.parse_permission_target(payload) ⇒ Object
16
17
18
|
# File 'lib/artifactory/permissions/v2.rb', line 16
def parse_permission_target(payload)
PermissionTarget.new payload
end
|