Sha256: 6435eca53507eb8949125c74411bbf74d1d51e65be0c8f90d255e06614de9f65

Contents?: true

Size: 272 Bytes

Versions: 21

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Cloudtasker
  module Cron
    module Middleware
      # Server middleware, invoked when jobs are executed
      class Server
        def call(worker)
          Job.new(worker).execute { yield }
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cloudtasker-0.9.5 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.9.4 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.9.3 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.10.rc5 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.10.rc4 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.10.rc3 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.10.rc2 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.10.rc1 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.9.2 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.9.1 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.9.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.8.2 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.8.1 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.8.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.7.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.6.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.5.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.4.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.3.0 lib/cloudtasker/cron/middleware/server.rb
cloudtasker-0.2.0 lib/cloudtasker/cron/middleware/server.rb