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.


1680
1681
1682
# File 'lib/platform-api/client.rb', line 1680

def initialize(client)
  @client = client
end

Instance Method Details

#list_for_organization(organization_name_or_organization_id) ⇒ Object

List add-ons used across all Organization apps

Parameters:

  • organization_name_or_organization_id:

    unique name of organization or unique identifier of organization


1687
1688
1689
# File 'lib/platform-api/client.rb', line 1687

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