Class: ActiveRecord::Undo::Configuration
- Inherits:
-
Object
- Object
- ActiveRecord::Undo::Configuration
- Defined in:
- lib/active_record/undo/configuration.rb
Instance Attribute Summary collapse
-
#retention_period ⇒ Object
Returns the value of attribute retention_period.
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 |
# File 'lib/active_record/undo/configuration.rb', line 8 def initialize @retention_period = 30.days end |
Instance Attribute Details
#retention_period ⇒ Object
Returns the value of attribute retention_period.
6 7 8 |
# File 'lib/active_record/undo/configuration.rb', line 6 def retention_period @retention_period end |