Sha256: b316a64ce671ab87dd889f44fcbc82540483feb5fee8f02f37a88d38b1329c2b

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

require 'lamby/logger'
require 'rack'
require 'base64'
require 'lamby/version'
require 'lamby/config'
require 'lamby/rack'
require 'lamby/rack_alb'
require 'lamby/rack_rest'
require 'lamby/rack_http'
require 'lamby/debug'
require 'lamby/runner'
require 'lamby/handler'

if defined?(Rails)
  require 'rails/railtie'
  require 'lamby/railtie'
end

module Lamby

  extend self

  def command(event, context)
    handler.new(config.app, event, context)
  end

  def handler(app, event, context, options = {})
    Handler.call(app, event, context, options)
  end

  def config
    Lamby::Config.config
  end

  autoload :SsmParameterStore, 'lamby/ssm_parameter_store'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lamby-4.0.0.beta1 lib/lamby.rb