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

Version Path
rhoconnect-7.6.0 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-7.5.1 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-7.4.1 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-7.1.17 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-6.2.0 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-6.0.11 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.18 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.17 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.15 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.0.22 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.2 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.0.7 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.0.3 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.5.0 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-5.1.1 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-4.0.4 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-4.0.3 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-4.0.2 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-4.0.1 lib/rhoconnect/handler/helpers/source_job.rb
rhoconnect-4.0.0 lib/rhoconnect/handler/helpers/source_job.rb