Sha256: 2146b7bcc23cc59c29daf869ed4334a9ace912d417b89e596e2471ce17cb6ab1
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
module Panda module CMS class RecordVisitJob < ApplicationJob queue_as :default def perform( url: nil, user_agent: nil, referrer: nil, ip_address: nil, page_id: nil, current_user_id: nil, params: [], visited_at: nil, redirect_id: nil ) Panda::CMS::Visit.create!( url: url, user_agent: user_agent, referrer: referrer, ip_address: ip_address, page_id: page_id, redirect_id: redirect_id, user_id: current_user_id, params: params, visited_at: visited_at ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
panda-cms-0.7.3 | app/jobs/panda/cms/record_visit_job.rb |
panda-cms-0.7.2 | app/jobs/panda/cms/record_visit_job.rb |
panda-cms-0.7.0 | app/jobs/panda/cms/record_visit_job.rb |