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 environments, running in the modern VPC substrate.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamSpace

Returns a new instance of TeamSpace.



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

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



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

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