Class: PlatformAPI::Organization

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

Overview

Organizations allow you to manage access to a shared group of applications across your development team.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Organization



993
994
995
# File 'lib/platform-api/client.rb', line 993

def initialize(client)
  @client = client
end

Instance Method Details

#listObject

List organizations in which you are a member.



998
999
1000
# File 'lib/platform-api/client.rb', line 998

def list()
  @client.organization.list()
end

#update(organization_name, body) ⇒ Object

Set or Unset the organization as your default organization.



1006
1007
1008
# File 'lib/platform-api/client.rb', line 1006

def update(organization_name, body)
  @client.organization.update(organization_name, body)
end