Module: AuthenticJwt::Role
- Defined in:
- lib/authentic_jwt/role.rb
Class Method Summary collapse
Class Method Details
.enum ⇒ Object
7 8 9 |
# File 'lib/authentic_jwt/role.rb', line 7 def self.enum MAPPING end |
.read ⇒ Object
11 12 13 |
# File 'lib/authentic_jwt/role.rb', line 11 def self.read READ + WRITE end |
.roles ⇒ Object
3 4 5 |
# File 'lib/authentic_jwt/role.rb', line 3 def self.roles MAPPING.keys end |
.write ⇒ Object
15 16 17 |
# File 'lib/authentic_jwt/role.rb', line 15 def self.write WRITE end |