Class: Morpho::Configurations::Auth
- Inherits:
-
Object
- Object
- Morpho::Configurations::Auth
- Defined in:
- lib/morpho/configurations/auth.rb
Instance Attribute Summary collapse
-
#failed_login_attempts_limit ⇒ Object
Returns the value of attribute failed_login_attempts_limit.
-
#password_minimum_length ⇒ Object
Returns the value of attribute password_minimum_length.
Instance Method Summary collapse
-
#initialize ⇒ Auth
constructor
A new instance of Auth.
Constructor Details
#initialize ⇒ Auth
Returns a new instance of Auth.
6 7 8 9 |
# File 'lib/morpho/configurations/auth.rb', line 6 def initialize self.failed_login_attempts_limit = 0 self.password_minimum_length = 8 end |
Instance Attribute Details
#failed_login_attempts_limit ⇒ Object
Returns the value of attribute failed_login_attempts_limit.
4 5 6 |
# File 'lib/morpho/configurations/auth.rb', line 4 def failed_login_attempts_limit @failed_login_attempts_limit end |
#password_minimum_length ⇒ Object
Returns the value of attribute password_minimum_length.
5 6 7 |
# File 'lib/morpho/configurations/auth.rb', line 5 def password_minimum_length @password_minimum_length end |