Class: Spree::GiftCards::BulkGenerateJob
- Defined in:
- app/jobs/spree/gift_cards/bulk_generate_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(id) ⇒ Object
6 7 8 9 10 |
# File 'app/jobs/spree/gift_cards/bulk_generate_job.rb', line 6 def perform(id) gift_cards_batch = Spree::GiftCardBatch.find(id) gift_cards_batch.create_gift_cards end |