lib/authoreyes/authorization/anonymous_user.rb in authoreyes-0.2.1 vs lib/authoreyes/authorization/anonymous_user.rb in authoreyes-0.2.2
- old
+ new
@@ -1,10 +1,10 @@
module Authoreyes
module Authorization
# Represents a pseudo-user to facilitate anonymous users in applications
class AnonymousUser
attr_reader :role_symbols
- def initialize (roles = [Authorization.default_role])
+ def initialize(roles = [Authorization.default_role])
@role_symbols = roles
end
end
end
end