Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

16
app/jobs/cron/refund.rb Normal file
View File

@@ -0,0 +1,16 @@
module Jobs
module Cron
class Refund
def self.process
::Refund.pending.each do |r|
r.process!
rescue StandardError => e
report_exception_to_screen(e)
r.fail!
next
end
sleep 60
end
end
end
end