Sha256: f0593a6ea574f1284295bbcdb47268c87c192f249bba4e5e24f27858ca4be748

Contents?: true

Size: 278 Bytes

Versions: 6

Compression:

Stored size: 278 Bytes

Contents

module Conjur::DSL2::Executor
  class Revoke < Base
    def execute
      action({
        'method' => 'delete',
        'path' => "#{role_path(statement.role)}?members",
        'parameters' => { "member" => statement.member.roleid(default_account)}
      })
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
conjur-asset-dsl2-0.4.4 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.4.3 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.4.2 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.3.2 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.3.1 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.3.0 lib/conjur/dsl2/executor/revoke.rb