Sha256: 8920f98e652917d3653a37d5b53792da61ddade233d067de9409776f0b6188d2

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 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 }
      })
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conjur-asset-dsl2-0.6.1 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.6.0 lib/conjur/dsl2/executor/revoke.rb
conjur-asset-dsl2-0.5.0 lib/conjur/dsl2/executor/revoke.rb