Sha256: 4e35a649e7e5d5e4b22510698c39b9407d83ccf4b42d3199229ef4b3e7512449
Contents?: true
Size: 369 Bytes
Versions: 6
Compression:
Stored size: 369 Bytes
Contents
module Conjur::DSL2::Executor # Change the owner of a resource with a PUT request to the resource path, specifying the new owner. class Give < Base def execute action({ 'method' => 'put', 'path' => resource_path(statement.resource), 'parameters' => { "owner" => statement.owner.roleid(default_account) } }) end end end
Version data entries
6 entries across 6 versions & 1 rubygems