class PlatformAPI::Account
An account represents an individual signed up to use the Heroku platform.
Public Class Methods
# File lib/platform-api/client.rb, line 826 def initialize(client) @client = client end
Public Instance Methods
Delete account. Note that this action cannot be undone.
# File lib/platform-api/client.rb, line 843 def delete() @client.account.delete() end
Delete account. Note that this action cannot be undone.
@param account_email_or_account_id_or_account_self: unique email address of account or unique identifier of an account or Implicit reference to currently authorized user
# File lib/platform-api/client.rb, line 865 def delete_by_user(account_email_or_account_id_or_account_self) @client.account.delete_by_user(account_email_or_account_id_or_account_self) end
Info for account.
# File lib/platform-api/client.rb, line 831 def info() @client.account.info() end
Info for account.
@param account_email_or_account_id_or_account_self: unique email address of account or unique identifier of an account or Implicit reference to currently authorized user
# File lib/platform-api/client.rb, line 850 def info_by_user(account_email_or_account_id_or_account_self) @client.account.info_by_user(account_email_or_account_id_or_account_self) end
Update account.
@param body: the object to pass as the request payload
# File lib/platform-api/client.rb, line 838 def update(body = {}) @client.account.update(body) end
Update account.
@param account_email_or_account_id_or_account_self: unique email address of account or unique identifier of an account or Implicit reference to currently authorized user @param body: the object to pass as the request payload
# File lib/platform-api/client.rb, line 858 def update_by_user(account_email_or_account_id_or_account_self, body = {}) @client.account.update_by_user(account_email_or_account_id_or_account_self, body) end