Sha256: ad56dd9d274acf72860d272efd3300074193b68728eaf1848483be86610d7d46
Contents?: true
Size: 241 Bytes
Versions: 6
Compression:
Stored size: 241 Bytes
Contents
# This method is pretty useful when used with the `for_subject` method # See http://walruz.rubyforge.org/ for more info. # class Policies::ActorIsSubject < Walruz::Policy def authorized?(actor, subject) actor == subject end end
Version data entries
6 entries across 6 versions & 1 rubygems