Sha256: 1c638005a3da8433c95392ef6cf59d0aee52052e7d52e7a83864c3b1f28b47db
Contents?: true
Size: 385 Bytes
Versions: 14
Compression:
Stored size: 385 Bytes
Contents
module ActsAsTenant @@configuration = nil def self.configure @@configuration = Configuration.new if block_given? yield configuration end configuration end def self.configuration @@configuration || configure end class Configuration attr_writer :require_tenant def require_tenant @require_tenant ||= false end end end
Version data entries
14 entries across 14 versions & 1 rubygems