Class: Integral::Role
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Integral::Role
- Defined in:
- app/models/integral/role.rb
Overview
Represents levels of authorization
Instance Method Summary collapse
-
#label ⇒ String
Label representing the Role.
Methods inherited from ApplicationRecord
Instance Method Details
#label ⇒ String
Returns label representing the Role.
10 11 12 |
# File 'app/models/integral/role.rb', line 10 def label I18n.t("integral.backend.roles.labels.#{name.underscore.downcase}") end |