class PlatformAPI::AppSetup
An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 1268 def initialize(client) @client = client end
Public Instance Methods
create(body = {})
click to toggle source
Create a new app setup from a gzipped tar archive containing an app.json manifest file.
@param body: the object to pass as the request payload
# File lib/platform-api/client.rb, line 1275 def create(body = {}) @client.app_setup.create(body) end
info(app_setup_id)
click to toggle source
Get the status of an app setup.
@param app_setup_id: unique identifier of app setup
# File lib/platform-api/client.rb, line 1282 def info(app_setup_id) @client.app_setup.info(app_setup_id) end