Class: SolidusActAsTenant::Configuration
- Inherits:
-
Object
- Object
- SolidusActAsTenant::Configuration
- Defined in:
- lib/solidus_act_as_tenant/configuration.rb
Instance Attribute Summary collapse
- #acts_as_tenant_args ⇒ Object
- #class_name ⇒ Object
-
#tenant_aware_models ⇒ Object
Returns the value of attribute tenant_aware_models.
- #tenant_column_name ⇒ Object
Instance Attribute Details
#acts_as_tenant_args ⇒ Object
12 13 14 |
# File 'lib/solidus_act_as_tenant/configuration.rb', line 12 def acts_as_tenant_args @acts_as_tenant_args ||= [:tenant, { class_name: 'Spree::Tenant' }] end |
#class_name ⇒ Object
16 17 18 |
# File 'lib/solidus_act_as_tenant/configuration.rb', line 16 def class_name @class_name ||= 'Spree::Tenant' end |
#tenant_aware_models ⇒ Object
Returns the value of attribute tenant_aware_models.
5 6 7 |
# File 'lib/solidus_act_as_tenant/configuration.rb', line 5 def tenant_aware_models @tenant_aware_models end |
#tenant_column_name ⇒ Object
8 9 10 |
# File 'lib/solidus_act_as_tenant/configuration.rb', line 8 def tenant_column_name @tenant_column_name ||= :tenant_id end |