module Conjur::DSL2::Executor::Annotate
Public Instance Methods
annotate()
click to toggle source
# File lib/conjur/dsl2/executor/base.rb, line 36 def annotate Array(annotate_record.annotations).each do |k,v| action({ 'method' => 'put', 'path' => update_annotation_path, 'parameters' => { "name" => k, "value" => v } }) end end
update_annotation_path()
click to toggle source
# File lib/conjur/dsl2/executor/base.rb, line 46 def update_annotation_path [ "authz", annotate_record.account, "annotations", annotate_record.resource_kind, CGI.escape(annotate_record.id) ].join('/') end