Sha256: f2fe725356b60bfd063077381c10c2dc6cab5eb3ed28a7dc247047e1d84c4462
Contents?: true
Size: 547 Bytes
Versions: 15
Compression:
Stored size: 547 Bytes
Contents
module BulletTrain class Configuration include Singleton attr_accessor :strong_passwords, :incoming_webhooks_parent_class_name @@config = nil def initialize @@config = self # Default values @strong_passwords = true @incoming_webhooks_parent_class_name = "ApplicationRecord" end class << self def strong_passwords @@config&.strong_passwords end def incoming_webhooks_parent_class_name @@config&.incoming_webhooks_parent_class_name end end end end
Version data entries
15 entries across 15 versions & 1 rubygems