Class: Conjur::Policy::Executor::CreateRole
- Includes:
- ActingAs
- Defined in:
- lib/conjur/policy/executor/create.rb
Overview
Create a new Role with a PUT request to the role path.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from ActingAs
Methods inherited from Create
Methods inherited from Base
#action, #initialize, #resource_path, #role_path
Methods included from Logger
Constructor Details
This class inherits a constructor from Conjur::Policy::Executor::Base
Instance Method Details
#execute ⇒ Object
110 111 112 113 114 115 116 |
# File 'lib/conjur/policy/executor/create.rb', line 110 def execute action({ 'method' => 'put', 'path' => role_path(statement.record), 'parameters' => acting_as_parameters }) end |