Module: Lamby
- Extended by:
- Lamby
- Included in:
- Lamby
- Defined in:
- lib/lamby.rb,
lib/lamby/rack.rb,
lib/lamby/debug.rb,
lib/lamby/config.rb,
lib/lamby/logger.rb,
lib/lamby/handler.rb,
lib/lamby/railtie.rb,
lib/lamby/version.rb,
lib/lamby/rack_alb.rb,
lib/lamby/rack_http.rb,
lib/lamby/rack_rest.rb,
lib/lamby/proxy_server.rb,
lib/lamby/proxy_context.rb,
lib/lamby/cold_start_metrics.rb,
lib/lamby/ssm_parameter_store.rb
Defined Under Namespace
Modules: Config, Debug, Logger Classes: ColdStartMetrics, Configuration, Handler, ProxyContext, ProxyServer, Rack, RackAlb, RackHttp, RackRest, Railtie, SsmParameterStore
Constant Summary collapse
- VERSION =
'5.2.4'
Instance Method Summary collapse
- #cmd(event:, context:) ⇒ Object
- #config ⇒ Object
- #handler(app, event, context, options = {}) ⇒ Object
Instance Method Details
#cmd(event:, context:) ⇒ Object
24 25 26 27 28 |
# File 'lib/lamby.rb', line 24 def cmd(event:, context:) handler(config.rack_app, event, context) ensure config.handled_proc.call(event, context) end |