class ActiveHashcash::Reputation::UpdateAllScoresJob
Constants
- DEFAULT_JOBS
Public Instance Methods
# File app/jobs/active_hashcash/reputation/update_all_scores_job.rb, line 8 def perform(jobs = DEFAULT_JOBS.dup) if (job = jobs.shift) job.perform_now self.class.perform_later(jobs) if jobs.any? end end