class Object
Public Instance Methods
app_file(path)
click to toggle source
# File lib/lamby/templates/shared.rb, line 5 def app_file(path) Rails.root.join(path) end
appname()
click to toggle source
# File lib/lamby/templates/shared.rb, line 13 def appname Rails.application.class.parent.name end
handler(event:, context:)
click to toggle source
# File lib/lamby/templates/api_gateway/app.rb, line 8 def handler(event:, context:) Lamby.handler $app, event, context, rack: :api end
inst_name()
click to toggle source
# File lib/lamby/templates/shared.rb, line 1 def inst_name $LAMBY_INSTALLER_NAME end
tpl_file(path)
click to toggle source
# File lib/lamby/templates/shared.rb, line 9 def tpl_file(path) "#{__dir__}/#{inst_name}/#{path}" end