class TerraformEnterprise::CommandLine::Commands::PolicyChecksCommand
Configuration Version Commoand
Constants
- ATTR_STR
- CMD_STR
Public Instance Methods
list()
click to toggle source
# File lib/terraform_enterprise/command_line/commands/policy_checks.rb, line 17 def list render client.policy_checks.list(run_id: options[:run_id]) end
override(id)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/policy_checks.rb, line 23 def override(id) params = { id: id, action: :override } params[:comment] = options[:comment] if options[:comment] render client.policy_checks.action(params) end