class PlatformAPI::PipelineStack
A pipeline's stack is determined by the apps in the pipeline. This is used during creation of CI and Review Apps that have no stack defined in app.json
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 2565 def initialize(client) @client = client end
Public Instance Methods
default_stack(pipeline_id_or_pipeline_name)
click to toggle source
The stack for a given pipeline, used for CI and Review Apps that have no stack defined in app.json.
@param pipeline_id_or_pipeline_name: unique identifier of pipeline or name of pipeline
# File lib/platform-api/client.rb, line 2572 def default_stack(pipeline_id_or_pipeline_name) @client.pipeline_stack.default_stack(pipeline_id_or_pipeline_name) end