Module: Alephant::Broker

Defined in:
lib/alephant/broker.rb,
lib/alephant/broker/cache.rb,
lib/alephant/broker/request.rb,
lib/alephant/broker/version.rb,
lib/alephant/broker/response.rb,
lib/alephant/broker/component.rb,
lib/alephant/broker/environment.rb,
lib/alephant/broker/request/asset.rb,
lib/alephant/broker/request/batch.rb,
lib/alephant/broker/response/base.rb,
lib/alephant/broker/response/asset.rb,
lib/alephant/broker/response/batch.rb,
lib/alephant/broker/request/handler.rb,
lib/alephant/broker/response/factory.rb,
lib/alephant/broker/errors/invalid_asset_id.rb,
lib/alephant/broker/errors/invalid_cache_key.rb

Defined Under Namespace

Modules: Cache, Request, Response Classes: Application, Component, Environment, InvalidAssetId, InvalidCacheKey

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.configObject



13
14
15
# File 'lib/alephant/broker.rb', line 13

def self.config
  @@configuration
end

.config=(c) ⇒ Object



17
18
19
# File 'lib/alephant/broker.rb', line 17

def self.config=(c)
  @@configuration = c
end

.handle(env) ⇒ Object



9
10
11
# File 'lib/alephant/broker.rb', line 9

def self.handle(env)
  Request::Handler.process env
end