Sha256: 97aa6bddf10148a51299128cb3f973db6bfb3f35b5ead19553d7033dfe39808f

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

require_relative 'config/boot'
require 'lamby'
require_relative 'config/application'
require_relative 'config/environment'

$app = Rack::Builder.new { run Rails.application }.to_app

def handler(event:, context:)
  Lamby.handler $app, event, context, rack: :http
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lamby-2.2.2 lib/lamby/templates/http/app.rb
lamby-2.2.1 lib/lamby/templates/http/app.rb
lamby-2.2.0 lib/lamby/templates/http/app.rb
lamby-2.1.0 lib/lamby/templates/http/app.rb
lamby-2.0.1 lib/lamby/templates/http/app.rb
lamby-2.0.0 lib/lamby/templates/http/app.rb