Class: TaxExemptionWorker
- Inherits:
-
Object
- Object
- TaxExemptionWorker
- Includes:
- Sidekiq::Job
- Defined in:
- app/workers/tax_exemption_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
6 7 8 9 |
# File 'app/workers/tax_exemption_worker.rb', line 6 def perform tax_exemptions = TaxExemption.where(expiration_date: ..1.month.from_now).where(expiration_notified: false) tax_exemptions.each(&:notify_expiration) end |