Class: PlatformAPI::BuildpackInstallation
- Inherits:
-
Object
- Object
- PlatformAPI::BuildpackInstallation
- Defined in:
- lib/platform-api/client.rb
Overview
A buildpack installation represents a buildpack that will be run against an app.
Instance Method Summary collapse
-
#initialize(client) ⇒ BuildpackInstallation
constructor
A new instance of BuildpackInstallation.
-
#list(app_id_or_app_name) ⇒ Object
List an app's existing buildpack installations.
-
#update(app_id_or_app_name, body = {}) ⇒ Object
Update an app's buildpack installations.
Constructor Details
#initialize(client) ⇒ BuildpackInstallation
Returns a new instance of BuildpackInstallation.
1584 1585 1586 |
# File 'lib/platform-api/client.rb', line 1584 def initialize(client) @client = client end |
Instance Method Details
#list(app_id_or_app_name) ⇒ Object
List an app's existing buildpack installations.
1599 1600 1601 |
# File 'lib/platform-api/client.rb', line 1599 def list(app_id_or_app_name) @client.buildpack_installation.list(app_id_or_app_name) end |
#update(app_id_or_app_name, body = {}) ⇒ Object
Update an app's buildpack installations.
1592 1593 1594 |
# File 'lib/platform-api/client.rb', line 1592 def update(app_id_or_app_name, body = {}) @client.buildpack_installation.update(app_id_or_app_name, body) end |