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
- #update(app_id_or_app_name, body = {}) ⇒ Object
Constructor Details
#initialize(client) ⇒ BuildpackInstallation
Returns a new instance of BuildpackInstallation.
2164 2165 2166 |
# File 'lib/platform-api/client.rb', line 2164 def initialize(client) @client = client end |
Instance Method Details
#list(app_id_or_app_name) ⇒ Object
2190 2191 2192 |
# File 'lib/platform-api/client.rb', line 2190 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
2178 2179 2180 |
# File 'lib/platform-api/client.rb', line 2178 def update(app_id_or_app_name, body = {}) @client.buildpack_installation.update(app_id_or_app_name, body) end |