Class: ActionTrace::Configuration
- Inherits:
-
Object
- Object
- ActionTrace::Configuration
- Defined in:
- lib/action_trace/configuration.rb
Instance Attribute Summary collapse
-
#excluded_actions ⇒ Object
Returns the value of attribute excluded_actions.
-
#excluded_controllers ⇒ Object
Returns the value of attribute excluded_controllers.
-
#log_retention_period ⇒ Object
Returns the value of attribute log_retention_period.
-
#user_class ⇒ Object
Returns the value of attribute user_class.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 |
# File 'lib/action_trace/configuration.rb', line 7 def initialize @excluded_actions = [] @excluded_controllers = [] @user_class = 'User' @log_retention_period = 1.year end |
Instance Attribute Details
#excluded_actions ⇒ Object
Returns the value of attribute excluded_actions.
5 6 7 |
# File 'lib/action_trace/configuration.rb', line 5 def excluded_actions @excluded_actions end |
#excluded_controllers ⇒ Object
Returns the value of attribute excluded_controllers.
5 6 7 |
# File 'lib/action_trace/configuration.rb', line 5 def excluded_controllers @excluded_controllers end |
#log_retention_period ⇒ Object
Returns the value of attribute log_retention_period.
5 6 7 |
# File 'lib/action_trace/configuration.rb', line 5 def log_retention_period @log_retention_period end |
#user_class ⇒ Object
Returns the value of attribute user_class.
5 6 7 |
# File 'lib/action_trace/configuration.rb', line 5 def user_class @user_class end |