Class: Casbin::Effect::Effector

Inherits:
Object
  • Object
show all
Defined in:
lib/casbin-ruby/effect/effector.rb

Overview

Effector is the interface for Casbin effectors.

Constant Summary collapse

ALLOW =
0
INDETERMINATE =
1
DENY =
2

Instance Method Summary collapse

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