module Dry::Ability::RuleInterface
Public Instance Methods
[](account, object)
click to toggle source
# File lib/dry/ability/rule_interface.rb, line 10 def [](account, object) call(account, object) end
attributes_for(account)
click to toggle source
# File lib/dry/ability/rule_interface.rb, line 18 def attributes_for(account) raise NotImplementedError end
call(account, object)
click to toggle source
# File lib/dry/ability/rule_interface.rb, line 6 def call(account, object) raise NotImplementedError end
scope_for(account)
click to toggle source
# File lib/dry/ability/rule_interface.rb, line 22 def scope_for(account) raise NotImplementedError end
|(other)
click to toggle source
# File lib/dry/ability/rule_interface.rb, line 14 def |(other) raise NotImplementedError end