Class: PlatformAPI::TeamSpace

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

A space is an isolated, highly available, secure app execution environment.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamSpace

Returns a new instance of TeamSpace.



3365
3366
3367
# File 'lib/platform-api/client.rb', line 3365

def initialize(client)
  @client = client
end

Instance Method Details

#list(team_name_or_team_id) ⇒ Object

List spaces owned by the team

Parameters:

  • team_name_or_team_id:

    unique name of team or unique identifier of team



3372
3373
3374
# File 'lib/platform-api/client.rb', line 3372

def list(team_name_or_team_id)
  @client.team_space.list(team_name_or_team_id)
end