Class: Anoubis::Tenant::GroupLocale
- Inherits:
-
Core::ApplicationRecord
- Object
- Core::ApplicationRecord
- Anoubis::Tenant::GroupLocale
- Defined in:
- app/models/anoubis/tenant/group_locale.rb
Overview
Instance Attribute Summary collapse
-
#locale ⇒ Locales
Reference to locale.
-
#menu ⇒ Group
Reference to the Group model.
-
#title ⇒ String
The group's localized title.
Instance Attribute Details
#locale ⇒ Locales
Returns reference to locale.
18 |
# File 'app/models/anoubis/tenant/group_locale.rb', line 18 enum locale: Anoubis::Core::Locales.enums |
#menu ⇒ Group
Returns reference to the Anoubis::Tenant::Group model.
13 |
# File 'app/models/anoubis/tenant/group_locale.rb', line 13 belongs_to :group, :class_name => 'Anoubis::Tenant::Group' |
#title ⇒ String
Returns the group's localized title.
9 |
# File 'app/models/anoubis/tenant/group_locale.rb', line 9 validates :title, length: { minimum: 3, maximum: 100 } |