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.



3359
3360
3361
# File 'lib/platform-api/client.rb', line 3359

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



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

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