Sha256: 0ad49bb206d10efdcec11cd5648ef874be9f4ef7771d84116f81d98358fd53a5
Contents?: true
Size: 355 Bytes
Versions: 10
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
10 entries across 10 versions & 1 rubygems