lib/rails/auth/acl/matchers/allow_all.rb in rails-auth-0.0.1 vs lib/rails/auth/acl/matchers/allow_all.rb in rails-auth-0.1.0

- old
+ new

@@ -1,10 +1,10 @@ module Rails module Auth class ACL # Built-in predicate matchers module Matchers - # Allows all principals access to a given resource + # Allows unauthenticated clients to access to a given resource class AllowAll def initialize(enabled) fail ArgumentError, "enabled must be true/false" unless [true, false].include?(enabled) @enabled = enabled end