Sha256: d02795dcd5ec542c1e8de1c4c9aa77537fdc93ee97368572adf53bf1b77e3f92
Contents?: true
Size: 314 Bytes
Versions: 142
Compression:
Stored size: 314 Bytes
Contents
require "bundler/setup" require "jets" Jets.once # runs once in lambda execution context <% @vars.functions.each do |function_name| handler = @vars.handler_for(function_name) meth = handler.split('.').last -%> def <%= meth -%>(event:, context:) Jets.process(event, context, "<%= handler -%>") end <% end %>
Version data entries
142 entries across 142 versions & 4 rubygems