Sha256: cc9e9f59f8059651cb9a11d5c95ea68f847866bb096a1a305ce88f020a2b95ac

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

module Quebert
  module Backend
    # Run the job syncronously. This is typically used in a testing environment
    # or could be used as a fallback if other backends fail to initialize
    class Sync
      def put(job, *args)
        Controller::Base.new(job).perform
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quebert-0.0.6 lib/quebert/backend/sync.rb