class PlatformAPI::ReviewAppConfig
Review apps can be configured for pipelines.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 2774 def initialize(client) @client = client end
Public Instance Methods
delete(pipeline_id)
click to toggle source
Disable review apps for a pipeline
@param pipeline_id: unique identifier of pipeline
# File lib/platform-api/client.rb, line 2804 def delete(pipeline_id) @client.review_app_config.delete(pipeline_id) end
enable(pipeline_id, body = {})
click to toggle source
Enable review apps for a 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 2782 def enable(pipeline_id, body = {}) @client.review_app_config.enable(pipeline_id, body) end
info(pipeline_id)
click to toggle source
Get review apps configuration for a pipeline
@param pipeline_id: unique identifier of pipeline
# File lib/platform-api/client.rb, line 2789 def info(pipeline_id) @client.review_app_config.info(pipeline_id) end
update(pipeline_id, body = {})
click to toggle source
Update review app configuration for a 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 2797 def update(pipeline_id, body = {}) @client.review_app_config.update(pipeline_id, body) end