Class: Vpago::PaymentProcessorJob
- Inherits:
-
ApplicationUniqueJob
- Object
- ActiveJob::Base
- ApplicationUniqueJob
- Vpago::PaymentProcessorJob
- Defined in:
- app/jobs/vpago/payment_processor_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(options) ⇒ Object
6 7 8 9 |
# File 'app/jobs/vpago/payment_processor_job.rb', line 6 def perform() payment = Spree::Payment.find_by(number: [:payment_number]) Vpago::PaymentProcessor.new(payment: payment).call end |