Class: ActiveAudit::Configuration
- Inherits:
-
Object
- Object
- ActiveAudit::Configuration
- Defined in:
- lib/active_audit/configuration.rb
Instance Attribute Summary collapse
-
#auditor ⇒ Object
Returns the value of attribute auditor.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/active_audit/configuration.rb', line 5 def initialize @auditor = :current_user @source = :app end |
Instance Attribute Details
#auditor ⇒ Object
Returns the value of attribute auditor.
3 4 5 |
# File 'lib/active_audit/configuration.rb', line 3 def auditor @auditor end |
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/active_audit/configuration.rb', line 3 def source @source end |