Source: show
# File engines/api/app/jobs/api/pending_intent_updator_job.rb, line 5 def perform(args = {}) if (sub = DB::Subscription.where({payment_gateway_id: args[:payment_gateway_id]}).last) sub.update_attribute(:pending_intent_id, args[:payment_intent_id]) end end