Class: PlatformAPI::OrganizationFeature
- Inherits:
-
Object
- Object
- PlatformAPI::OrganizationFeature
- Defined in:
- lib/platform-api/client.rb
Overview
An organization feature represents a feature enabled on an organization account.
Instance Method Summary collapse
-
#info(organization_name_or_organization_id, organization_feature_id_or_organization_feature_name) ⇒ Object
Info for an existing account feature.
-
#initialize(client) ⇒ OrganizationFeature
constructor
A new instance of OrganizationFeature.
-
#list(organization_name_or_organization_id) ⇒ Object
List existing organization features.
Constructor Details
#initialize(client) ⇒ OrganizationFeature
Returns a new instance of OrganizationFeature.
1797 1798 1799 |
# File 'lib/platform-api/client.rb', line 1797 def initialize(client) @client = client end |
Instance Method Details
#info(organization_name_or_organization_id, organization_feature_id_or_organization_feature_name) ⇒ Object
Info for an existing account feature.
1805 1806 1807 |
# File 'lib/platform-api/client.rb', line 1805 def info(organization_name_or_organization_id, organization_feature_id_or_organization_feature_name) @client.organization_feature.info(organization_name_or_organization_id, organization_feature_id_or_organization_feature_name) end |
#list(organization_name_or_organization_id) ⇒ Object
List existing organization features.
1812 1813 1814 |
# File 'lib/platform-api/client.rb', line 1812 def list(organization_name_or_organization_id) @client.organization_feature.list(organization_name_or_organization_id) end |