test/dummy/app/models/plain_ruby_user.rb in canard-0.3.6 vs test/dummy/app/models/plain_ruby_user.rb in canard-0.3.7

- old
+ new

@@ -1,7 +1,11 @@ class PlainRubyUser - + extend Canard::UserModel - + attr_accessor :roles_mask - + + def initialize(*roles) + self.roles = roles + end + end \ No newline at end of file