Sha256: b54877cc9f695154ebb2dfbbcdd528a3eb1e0f6e31f8ebda3ca26f25b2afd7b7
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require 'singleton' module PaperTrail class Config include Singleton attr_accessor :enabled, :timestamp_field, :serializer, :version_limit def initialize @enabled = true # Indicates whether PaperTrail is on or off. @timestamp_field = :created_at @serializer = PaperTrail::Serializers::Yaml end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
paper_trail_without_deprecated-3.0.0.beta1 | lib/paper_trail/config.rb |
paper_trail-3.0.0.beta1 | lib/paper_trail/config.rb |
paper_trail-2.7.2 | lib/paper_trail/config.rb |