Class: Casbin::Effect::Effector
- Inherits:
-
Object
- Object
- Casbin::Effect::Effector
- Defined in:
- lib/casbin-ruby/effect/effector.rb
Overview
Effector is the interface for Casbin effectors.
Direct Known Subclasses
AllowAndDenyEffector, AllowOverrideEffector, DefaultEffector, DenyOverrideEffector, PriorityEffector
Constant Summary collapse
- ALLOW =
0
- INDETERMINATE =
1
- DENY =
2
Instance Method Summary collapse
-
#final_effect(_effects) ⇒ Object
returns the final effect based on the matched effects of the enforcer.
-
#intermediate_effect(_effects) ⇒ Object
returns a intermediate effect based on the matched effects of the enforcer.
Instance Method Details
#final_effect(_effects) ⇒ Object
returns the final effect based on the matched effects of the enforcer
15 |
# File 'lib/casbin-ruby/effect/effector.rb', line 15 def final_effect(_effects); end |
#intermediate_effect(_effects) ⇒ Object
returns a intermediate effect based on the matched effects of the enforcer
12 |
# File 'lib/casbin-ruby/effect/effector.rb', line 12 def intermediate_effect(_effects); end |