class PlatformAPI::PermissionEntity

An owned entity including users' permissions.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 2383
def initialize(client)
  @client = client
end

Public Instance Methods

list(team_name_or_team_id) click to toggle source

List permission entities for a team.

@param team_name_or_team_id: unique name of team or unique identifier of team

# File lib/platform-api/client.rb, line 2390
def list(team_name_or_team_id)
  @client.permission_entity.list(team_name_or_team_id)
end