Module: Cloudtasker::Cron::Middleware

Defined in:
lib/cloudtasker/cron/middleware.rb,
lib/cloudtasker/cron/middleware/server.rb

Overview

Registration module

Defined Under Namespace

Classes: Server

Class Method Summary collapse

Class Method Details

.configureObject



13
14
15
16
17
# File 'lib/cloudtasker/cron/middleware.rb', line 13

def self.configure
  Cloudtasker.configure do |config|
    config.server_middleware { |c| c.add(Middleware::Server) }
  end
end