lib/snapuser.rb in snapuser-0.1.1 vs lib/snapuser.rb in snapuser-0.2.0
- old
+ new
@@ -1,7 +1,9 @@
require "snapuser/engine"
module Snapuser
@@levels = {"superadmin" => "1", "admin" => "2"}
+ @@superuser_level = 1
+ @@can_edit = 2
- mattr_accessor :levels
-end
+ mattr_accessor :levels, :can_edit, :superuser_level
+end
\ No newline at end of file