Class: Tenantify::Configuration
- Inherits:
-
Object
- Object
- Tenantify::Configuration
- Defined in:
- lib/tenantify/configuration.rb
Instance Attribute Summary collapse
-
#audit_overrides ⇒ Object
Returns the value of attribute audit_overrides.
-
#on_tenant_not_found ⇒ Object
Returns the value of attribute on_tenant_not_found.
-
#tenant_model ⇒ Object
Returns the value of attribute tenant_model.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/tenantify/configuration.rb', line 7 def initialize @tenant_model = nil @on_tenant_not_found = :raise @audit_overrides = :log end |
Instance Attribute Details
#audit_overrides ⇒ Object
Returns the value of attribute audit_overrides.
5 6 7 |
# File 'lib/tenantify/configuration.rb', line 5 def audit_overrides @audit_overrides end |
#on_tenant_not_found ⇒ Object
Returns the value of attribute on_tenant_not_found.
5 6 7 |
# File 'lib/tenantify/configuration.rb', line 5 def on_tenant_not_found @on_tenant_not_found end |
#tenant_model ⇒ Object
Returns the value of attribute tenant_model.
5 6 7 |
# File 'lib/tenantify/configuration.rb', line 5 def tenant_model @tenant_model end |