Module: Conjur::DSL2::Ruby::Grants
- Includes:
- CustomStatement
- Included in:
- Body, Entitlements
- Defined in:
- lib/conjur/dsl2/ruby/loader.rb
Instance Method Summary collapse
Methods included from CustomStatement
Instance Method Details
#grant(&block) ⇒ Object
80 81 82 83 84 |
# File 'lib/conjur/dsl2/ruby/loader.rb', line 80 def grant &block custom_statement(block) do Conjur::DSL2::Types::Grant.new end end |
#revoke(&block) ⇒ Object
86 87 88 89 90 |
# File 'lib/conjur/dsl2/ruby/loader.rb', line 86 def revoke &block custom_statement(block) do Conjur::DSL2::Types::Revoke.new end end |