in lib/aws_lambda_ric/lambda_handler.rb [8:18]
def initialize(env_handler:)
handler_split = env_handler.split('.')
if handler_split.size == 2
@handler_file_name, @handler_method_name = handler_split
elsif handler_split.size == 3
@handler_file_name, @handler_class, @handler_method_name = handler_split
else
raise ArgumentError.new("Invalid handler #{handler_split}, must be of form FILENAME.METHOD or FILENAME.CLASS.METHOD where FILENAME corresponds with an existing Ruby source file FILENAME.rb, CLASS is an optional module/class namespace and METHOD is a callable method. If using CLASS, METHOD must be a class-level method.")
end
end