Class: PlatformAPI::PermissionEntity
- Inherits:
-
Object
- Object
- PlatformAPI::PermissionEntity
- Defined in:
- lib/platform-api/client.rb
Overview
An owned entity including users' permissions.
Instance Method Summary collapse
-
#initialize(client) ⇒ PermissionEntity
constructor
A new instance of PermissionEntity.
-
#list(team_name_or_team_id) ⇒ Object
List permission entities for a team.
Constructor Details
#initialize(client) ⇒ PermissionEntity
Returns a new instance of PermissionEntity.
2385 2386 2387 |
# File 'lib/platform-api/client.rb', line 2385 def initialize(client) @client = client end |
Instance Method Details
#list(team_name_or_team_id) ⇒ Object
List permission entities for a team.
2392 2393 2394 |
# File 'lib/platform-api/client.rb', line 2392 def list(team_name_or_team_id) @client..list(team_name_or_team_id) end |