Sha256: 92f494077d9705917f9b51cf63b55605cad6af5e6c3c644eb027a99c921c1d3f

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

module Sidekiq
  module Worker

    def self.included(base)
      base.extend(ClassMethods)
    end

    def logger
      Sidekiq.logger
    end

    module ClassMethods

      def perform_async(*args)
        clz = self
        RailsPushQueues.queue_job
      end
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_push_queues-0.0.2 lib/rails_push_queues/sidekiq.rb
rails_push_queues-0.0.1 lib/rails_push_queues/sidekiq.rb