class PlatformAPI::BuildpackInstallation
A buildpack installation represents a buildpack that will be run against an app.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 1564 def initialize(client) @client = client end
Public Instance Methods
list(app_id_or_app_name)
click to toggle source
List an app's existing buildpack installations.
@param app_id_or_app_name: unique identifier of app or unique name of app
# File lib/platform-api/client.rb, line 1579 def list(app_id_or_app_name) @client.buildpack_installation.list(app_id_or_app_name) end
update(app_id_or_app_name, body = {})
click to toggle source
Update an app's buildpack installations.
@param app_id_or_app_name: unique identifier of app or unique name of app @param body: the object to pass as the request payload
# File lib/platform-api/client.rb, line 1572 def update(app_id_or_app_name, body = {}) @client.buildpack_installation.update(app_id_or_app_name, body) end