Class: PlatformAPI::Account
- Inherits:
-
Object
- Object
- PlatformAPI::Account
- Defined in:
- lib/platform-api/client.rb
Overview
An account represents an individual signed up to use the Heroku platform.
Instance Method Summary collapse
-
#change_email(body) ⇒ Object
Change Email for account.
-
#change_password(body) ⇒ Object
Change Password for account.
-
#info ⇒ Object
Info for account.
-
#initialize(client) ⇒ Account
constructor
A new instance of Account.
-
#update(body) ⇒ Object
Update account.
Constructor Details
#initialize(client) ⇒ Account
Returns a new instance of Account.
354 355 356 |
# File 'lib/platform-api/client.rb', line 354 def initialize(client) @client = client end |
Instance Method Details
#change_email(body) ⇒ Object
Change Email for account.
373 374 375 |
# File 'lib/platform-api/client.rb', line 373 def change_email(body) @client.account.change_email(body) end |
#change_password(body) ⇒ Object
Change Password for account.
380 381 382 |
# File 'lib/platform-api/client.rb', line 380 def change_password(body) @client.account.change_password(body) end |
#info ⇒ Object
Info for account.
359 360 361 |
# File 'lib/platform-api/client.rb', line 359 def info() @client.account.info() end |
#update(body) ⇒ Object
Update account.
366 367 368 |
# File 'lib/platform-api/client.rb', line 366 def update(body) @client.account.update(body) end |