paper-trail-gem--paper_trail/lib/paper_trail/config.rb

13 lines
257 B
Ruby

module PaperTrail
class Config
include Singleton
attr_accessor :enabled, :timestamp_field
def initialize
# Indicates whether PaperTrail is on or off.
@enabled = true
@timestamp_field = :created_at
end
end
end