Class: Signum::Configuration
- Inherits:
-
Object
- Object
- Signum::Configuration
- Defined in:
- lib/signum/configuration.rb
Instance Attribute Summary collapse
-
#hide_after ⇒ Object
Returns the value of attribute hide_after.
-
#user_model_name ⇒ Object
Returns the value of attribute user_model_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/signum/configuration.rb', line 8 def initialize @user_model_name = "User" @hide_after = 3000 end |
Instance Attribute Details
#hide_after ⇒ Object
Returns the value of attribute hide_after.
5 6 7 |
# File 'lib/signum/configuration.rb', line 5 def hide_after @hide_after end |
#user_model_name ⇒ Object
Returns the value of attribute user_model_name.
6 7 8 |
# File 'lib/signum/configuration.rb', line 6 def user_model_name @user_model_name end |