Module: AuditLog
- Defined in:
- lib/audit_log.rb,
lib/audit_log/entry.rb,
lib/audit_log/model.rb,
lib/audit_log/config.rb,
lib/audit_log/context.rb,
lib/audit_log/helpers.rb,
lib/audit_log/version.rb,
lib/generators/audit_log/install_generator.rb
Defined Under Namespace
Modules: Generators, Helpers, Model Classes: Configuration, Context, Entry, Error
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/audit_log/config.rb', line 5 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
7 8 9 10 |
# File 'lib/audit_log/config.rb', line 7 def configure self.configuration ||= Configuration.new yield(configuration) end |
.reset_configuration! ⇒ Object
12 13 14 |
# File 'lib/audit_log/config.rb', line 12 def reset_configuration! self.configuration = Configuration.new end |