Class: RefundOrderProcessor
- Inherits:
-
OrderProcessor
- Object
- Struct
- OrderProcessor
- RefundOrderProcessor
- Includes:
- ActionView::Helpers::TextHelper
- Defined in:
- app/models/job/refund_order_processor.rb
Constant Summary collapse
- QUEUE =
"order"
Instance Attribute Summary
Attributes inherited from OrderProcessor
Instance Method Summary collapse
Methods inherited from OrderProcessor
#generate_pdf, #initialize, #perform, process, #process_memberships, #send_confirmation, #skip_actions, #skip_email
Constructor Details
This class inherits a constructor from OrderProcessor
Instance Method Details
#generate_qr_codes_and_pdf ⇒ Object
5 6 7 |
# File 'app/models/job/refund_order_processor.rb', line 5 def generate_qr_codes_and_pdf #noop end |
#process_passes ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/models/job/refund_order_processor.rb', line 9 def process_passes unless self.order.passes.empty? self.order.passes.each do |pass_item| pass_item.product.expire! end end end |