class PlatformAPI::Pipeline

A pipeline allows grouping of apps into different stages.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 2593
def initialize(client)
  @client = client
end

Public Instance Methods

create(body = {}) click to toggle source

Create a new pipeline.

@param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 2600
def create(body = {})
  @client.pipeline.create(body)
end
delete(pipeline_id) click to toggle source

Delete an existing pipeline.

@param pipeline_id: unique identifier of pipeline

# File lib/platform-api/client.rb, line 2614
def delete(pipeline_id)
  @client.pipeline.delete(pipeline_id)
end
info(pipeline_id_or_pipeline_name) click to toggle source

Info for existing pipeline.

@param pipeline_id_or_pipeline_name: unique identifier of pipeline or name of pipeline

# File lib/platform-api/client.rb, line 2607
def info(pipeline_id_or_pipeline_name)
  @client.pipeline.info(pipeline_id_or_pipeline_name)
end
list() click to toggle source

List existing pipelines.

# File lib/platform-api/client.rb, line 2627
def list()
  @client.pipeline.list()
end
update(pipeline_id, body = {}) click to toggle source

Update an existing pipeline.

@param pipeline_id: unique identifier of pipeline @param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 2622
def update(pipeline_id, body = {})
  @client.pipeline.update(pipeline_id, body)
end