Module: Anisoptera
- Extended by:
- Anisoptera
- Included in:
- Anisoptera
- Defined in:
- lib/anisoptera/serializer.rb,
lib/anisoptera.rb,
lib/anisoptera/app.rb,
lib/anisoptera/version.rb,
lib/anisoptera/endpoint.rb,
lib/anisoptera/commander.rb,
lib/anisoptera/sync_endpoint.rb,
lib/anisoptera/async_endpoint.rb
Overview
Defined Under Namespace
Modules: Endpoint, Serializer
Classes: App, AsyncEndpoint, Commander, Config, SyncEndpoint
Constant Summary
collapse
{
'Cache-Control' => 'public, max-age=3153600'
}.freeze
- VERSION =
"0.0.2"
Instance Method Summary
collapse
Instance Method Details
#[](app_name) ⇒ Object
26
27
28
|
# File 'lib/anisoptera.rb', line 26
def [](app_name)
@apps[app_name] ||= Anisoptera::App.new
end
|
#prefer_async ⇒ Object
22
23
24
|
# File 'lib/anisoptera.rb', line 22
def prefer_async
!!@prefer_async
end
|
#prefer_async=(bool) ⇒ Object
18
19
20
|
# File 'lib/anisoptera.rb', line 18
def prefer_async=(bool)
@prefer_async = bool
end
|