Sha256: 5562e010a422594cf51015ce3c0738d81da129c2dd10b798fb7e67a6d8b6bc4c

Contents?: true

Size: 181 Bytes

Versions: 38

Compression:

Stored size: 181 Bytes

Contents

module BridgeCache::Jobs
  class CleanupJob < ActiveJob::Base
    def perform(model, row_ids)
      "BridgeCache::#{model.camelcase}".constantize.cleanup(row_ids)
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
bridge_cache-0.3.19 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.17 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.16 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.15 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.14 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.13 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.12 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.11 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.10 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.9 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.8 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.7 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.6 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.5 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.4 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.3 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.2 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.01 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.3.0 app/lib/bridge_cache/jobs/cleanup_job.rb
bridge_cache-0.2.8 app/lib/bridge_cache/jobs/cleanup_job.rb