Class: Composable::Tenant::DataSet
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- Composable::Tenant::DataSet
- Defined in:
- lib/composable/tenant/data_set.rb
Instance Method Summary collapse
Instance Method Details
#excluded_tenants ⇒ Object
8 9 10 |
# File 'lib/composable/tenant/data_set.rb', line 8 def excluded_tenants super || Set.new end |
#tenant(tenant) ⇒ Object
16 17 18 |
# File 'lib/composable/tenant/data_set.rb', line 16 def tenant(tenant) tenants[tenant.to_sym] end |
#tenant=(array) ⇒ Object
12 13 14 |
# File 'lib/composable/tenant/data_set.rb', line 12 def tenant=(array) tenants[array.first.to_sym] = array.last end |