Module: AwsLambdaHandler

Defined in:
lib/modulator/lambda_handler.rb

Overview

NOTE: aws has LambdaHandler already defined as a class so we need an aws prefix here

Class Method Summary collapse

Class Method Details

.call(event:, context:) ⇒ Object

select event handler



8
9
10
11
# File 'lib/modulator/lambda_handler.rb', line 8

def call(event:, context:)
  # TODO: implement handlers for other event types based on some event key, like AwsS3EventHandler
  AwsApiGatewayEventHandler.call(event: event, context: context)
end