Sha256: 4ff19d0b0f4ab3c266edfbf0686b909ec513faeae0ccea66b373a07881c0a6ae

Contents?: true

Size: 325 Bytes

Versions: 14

Compression:

Stored size: 325 Bytes

Contents

require 'delayed_job'

module Backgrounded
  module Handler
    # invoke the operation in the background using delayed job
    # see http://github.com/tobi/delayed_job/tree/master
    class DelayedJobHandler
      def request(object, method, *args)
        object.send_later(method.to_sym, *args)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
wireframe-backgrounded-0.3.0 lib/handler/delayed_job_handler.rb
backgrounded-0.7.5 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.7.4 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.7.3 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.7.2 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.7.1 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.7.0 lib/backgrounded/handler/delayed_job_handler.rb
phene-backgrounded-0.6.2 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.6.2 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.6.1 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.6.0 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.5.0 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.4.1 lib/backgrounded/handler/delayed_job_handler.rb
backgrounded-0.3.1 lib/handler/delayed_job_handler.rb