test/dummy/app/models/plain_ruby_user.rb in canard-0.5.0.pre vs test/dummy/app/models/plain_ruby_user.rb in canard-0.6.0.pre
- old
+ new
@@ -1,11 +1,11 @@
-class PlainRubyUser
+# frozen_string_literal: true
+class PlainRubyUser
extend Canard::UserModel
attr_accessor :roles_mask
def initialize(*roles)
self.roles = roles
end
-
-end
\ No newline at end of file
+end