Class: PlatformAPI::OrganizationAddon

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

Overview

A list of add-ons the Organization uses across all apps

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ OrganizationAddon

Returns a new instance of OrganizationAddon.



1564
1565
1566
# File 'lib/platform-api/client.rb', line 1564

def initialize(client)
  @client = client
end

Instance Method Details

#list_for_organization(organization_name) ⇒ Object

List add-ons used across all Organization apps

Parameters:

  • organization_name:

    unique name of organization



1571
1572
1573
# File 'lib/platform-api/client.rb', line 1571

def list_for_organization(organization_name)
  @client.organization_addon.list_for_organization(organization_name)
end