lib/plutus.rb in plutus-0.9.0 vs lib/plutus.rb in plutus-0.10.0

- old
+ new

@@ -3,6 +3,21 @@ module Plutus class Engine < Rails::Engine isolate_namespace Plutus end + + + # ------------------------------ tenancy ------------------------------ + # configuration to enable or disable tenancy + mattr_accessor :enable_tenancy + enable_tenancy = false + + mattr_accessor :tenant_class + tenant_class = nil + + + # provide hook to configure attributes + def self.config + yield(self) + end end