class PlatformAPI::AccountFeature

An account feature represents a Heroku labs capability that can be enabled or disabled for an account on Heroku.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 799
def initialize(client)
  @client = client
end

Public Instance Methods

info(account_feature_id_or_account_feature_name) click to toggle source

Info for an existing account feature.

@param account_feature_id_or_account_feature_name: unique identifier of account feature or unique name of account feature

# File lib/platform-api/client.rb, line 806
def info(account_feature_id_or_account_feature_name)
  @client.account_feature.info(account_feature_id_or_account_feature_name)
end
list() click to toggle source

List existing account features.

# File lib/platform-api/client.rb, line 811
def list()
  @client.account_feature.list()
end
update(account_feature_id_or_account_feature_name, body = {}) click to toggle source

Update an existing account feature.

@param account_feature_id_or_account_feature_name: unique identifier of account feature or unique name of account feature @param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 819
def update(account_feature_id_or_account_feature_name, body = {})
  @client.account_feature.update(account_feature_id_or_account_feature_name, body)
end