Module: Autoscale::Agent

Defined in:
lib/autoscale/agent.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/web_dispatchers.rb,
lib/autoscale/agent/worker_dispatcher.rb,
lib/autoscale/agent/worker_dispatchers.rb

Defined Under Namespace

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

Constant Summary collapse

VERSION =
"0.1.0".freeze

Class Method Summary collapse

Class Method Details

.configurationObject



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

def configuration
  @configuration
end

.configure(&block) ⇒ Object



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

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