Module: Tenantify::Switcher
- Defined in:
- lib/tenantify/switcher.rb
Class Method Summary collapse
Class Method Details
.switch_to(tenant, &block) ⇒ Object
7 8 9 |
# File 'lib/tenantify/switcher.rb', line 7 def switch_to(tenant, &block) Tenantify.switch_to(tenant, &block) end |
.without_tenant(&block) ⇒ Object
11 12 13 |
# File 'lib/tenantify/switcher.rb', line 11 def without_tenant(&block) Tenantify.without_tenant(&block) end |