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/component_meta.rb,
lib/alephant/broker/response/asset.rb,
lib/alephant/broker/response/batch.rb,
lib/alephant/broker/error_component.rb,
lib/alephant/broker/request/factory.rb,
lib/alephant/broker/request/handler.rb,
lib/alephant/broker/response/factory.rb,
lib/alephant/broker/component_factory.rb,
lib/alephant/broker/load_strategy/http.rb,
lib/alephant/broker/load_strategy/s3/base.rb,
lib/alephant/broker/errors/invalid_asset_id.rb,
lib/alephant/broker/errors/content_not_found.rb,
lib/alephant/broker/errors/invalid_cache_key.rb,
lib/alephant/broker/load_strategy/s3/archived.rb,
lib/alephant/broker/load_strategy/s3/sequenced.rb
Defined Under Namespace
Modules: Cache, Errors, LoadStrategy, Request, Response
Classes: Application, Component, ComponentFactory, ComponentMeta, Environment, ErrorComponent, InvalidAssetId, InvalidCacheKey
Constant Summary
collapse
- VERSION =
"3.6.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
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(load_strategy, env) ⇒ Object
9
10
11
|
# File 'lib/alephant/broker.rb', line 9
def self.handle(load_strategy, env)
Request::Handler.process(load_strategy, env)
end
|