Class: Anoubis::Sso::Client::Group
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Anoubis::Sso::Client::Group
- Defined in:
- app/models/anoubis/sso/client/group.rb
Constant Summary collapse
- VALID_IDENT_REGEX =
/\A[a-z]*\z/i
Instance Attribute Summary collapse
-
#ident ⇒ String
The group’s identifier.
Instance Method Summary collapse
Instance Attribute Details
#ident ⇒ String
Returns the group’s identifier. Identifier consists of lowercase alphabetical symbols.
8 |
# File 'app/models/anoubis/sso/client/group.rb', line 8 validates :ident, length: { minimum: 3, maximum: 50 }, uniqueness: { case_sensitive: false }, format: { with: VALID_IDENT_REGEX } |
Instance Method Details
#title ⇒ Object
12 13 14 |
# File 'app/models/anoubis/sso/client/group.rb', line 12 def title get_locale_field 'title_locale' end |
#title=(value) ⇒ Object
16 17 18 |
# File 'app/models/anoubis/sso/client/group.rb', line 16 def title=(value) self.set_locale_field 'title_locale', value end |