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.



3399
3400
3401
# File 'lib/platform-api/client.rb', line 3399

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



3406
3407
3408
# File 'lib/platform-api/client.rb', line 3406

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