Sha256: 31b0b2235444e66673ba39aa1a137167b430b385f1190a0dac4b6e7735de0adc
Contents?: true
Size: 206 Bytes
Versions: 6
Compression:
Stored size: 206 Bytes
Contents
module Cas class IncrementPageviewsJob include ::Sidekiq::Worker def perform(id, type) if type == "content" Cas::Content.find(id).increment!(:pageviews) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems