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.
2365 2366 2367 |
# File 'lib/platform-api/client.rb', line 2365 def initialize(client) @client = client end |
Instance Method Details
#list(team_name_or_team_id) ⇒ Object
List permission entities for a team.
2372 2373 2374 |
# File 'lib/platform-api/client.rb', line 2372 def list(team_name_or_team_id) @client..list(team_name_or_team_id) end |