Updated

app/jobs / refresh_constituencies_job.rb

A
7 lines of codes
1 methods
1.0 complexity/method
2 churn
1.0 complexity
0 duplications
class RefreshConstituenciesJob < ApplicationJob
  1. RefreshConstituenciesJob has no descriptive comment
queue_as :low_priority def perform
  1. RefreshConstituenciesJob#perform doesn't depend on instance state (maybe move it to another class?)
Constituency.refresh! end end