Method: Jets::PolyFun::BaseExecutor#handler
- Defined in:
- lib/jets/poly_fun/base_executor.rb
#handler ⇒ Object
116 117 118 119 120 121 122 |
# File 'lib/jets/poly_fun/base_executor.rb', line 116 def handler # Must use the generated CloudFormation template to get the handler because # the handler is derived from mutiple sources. resource = Jets::Resource::Lambda::Function.new(@task) full_handler = resource.properties["Handler"] # full handler here File.extname(full_handler).sub(/^./,'') # the extension of the full handler is the handler end |