Class: PlatformAPI::TeamApp

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

Overview

A team app encapsulates the team specific functionality of Heroku apps.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamApp

Returns a new instance of TeamApp.



4751
4752
4753
# File 'lib/platform-api/client.rb', line 4751

def initialize(client)
  @client = client
end

Instance Method Details

#create(body = {}) ⇒ Object



4763
4764
4765
# File 'lib/platform-api/client.rb', line 4763

def create(body = {})
  @client.team_app.create(body)
end

#info(team_app_identity) ⇒ Object



4775
4776
4777
# File 'lib/platform-api/client.rb', line 4775

def info(team_app_identity)
  @client.team_app.info(team_app_identity)
end

#list_by_team(team_name_or_team_id) ⇒ Object



4829
4830
4831
# File 'lib/platform-api/client.rb', line 4829

def list_by_team(team_name_or_team_id)
  @client.team_app.list_by_team(team_name_or_team_id)
end

#transfer_to_account(team_app_identity, body = {}) ⇒ Object



4803
4804
4805
# File 'lib/platform-api/client.rb', line 4803

def (team_app_identity, body = {})
  @client.team_app.(team_app_identity, body)
end

#transfer_to_team(team_app_identity, body = {}) ⇒ Object



4817
4818
4819
# File 'lib/platform-api/client.rb', line 4817

def transfer_to_team(team_app_identity, body = {})
  @client.team_app.transfer_to_team(team_app_identity, body)
end

#update_locked(team_app_identity, body = {}) ⇒ Object



4789
4790
4791
# File 'lib/platform-api/client.rb', line 4789

def update_locked(team_app_identity, body = {})
  @client.team_app.update_locked(team_app_identity, body)
end