Module: MultiTenantSupport::ConfiguredJob
- Defined in:
- lib/multi_tenant_support/active_job.rb
Instance Method Summary collapse
Instance Method Details
#perform_now(*args) ⇒ Object
84 85 86 87 88 |
# File 'lib/multi_tenant_support/active_job.rb', line 84 def perform_now(*args) job = @job_class.new(*args) job.current_tenant = MultiTenantSupport.current_tenant job.perform_now end |