Module: Autoscale::Agent

Defined in:
lib/autoscale/agent.rb,
lib/autoscale/agent/util.rb,
lib/autoscale/agent/railtie.rb,
lib/autoscale/agent/request.rb,
lib/autoscale/agent/version.rb,
lib/autoscale/agent/middleware.rb,
lib/autoscale/agent/configuration.rb,
lib/autoscale/agent/worker_server.rb,
lib/autoscale/agent/web_dispatcher.rb,
lib/autoscale/agent/worker_servers.rb,
lib/autoscale/agent/worker_dispatcher.rb,
lib/autoscale/agent/worker_dispatchers.rb

Defined Under Namespace

Modules: Request, Util Classes: Configuration, Middleware, Railtie, WebDispatcher, WorkerDispatcher, WorkerDispatchers, WorkerServer, WorkerServers

Constant Summary collapse

VERSION =
"0.2.1".freeze

Class Method Summary collapse

Class Method Details

.configurationObject



25
26
27
# File 'lib/autoscale/agent.rb', line 25

def configuration
  @configuration
end

.configure(&block) ⇒ Object



21
22
23
# File 'lib/autoscale/agent.rb', line 21

def configure(&block)
  @configuration = Configuration.new(&block)
end