Sha256: a4b2c7f456f734cdadd15248f76eed2f3cfc48732bac69c9aada873a2f8e1a3e
Contents?: true
Size: 408 Bytes
Versions: 23
Compression:
Stored size: 408 Bytes
Contents
module Rhoconnect module Handler module Helpers module SourceJob # Enqueue a job for the source based on job type def async(job_type,queue_name,params=nil) Rhoconnect::SourceJob.queue = queue_name Resque.enqueue(Rhoconnect::SourceJob,job_type,@source.id, @source.app_id,@source.user_id,params) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems