Method: Jets::Stack::Main::Dsl::Lambda#node_function
- Defined in:
- lib/jets/stack/main/extensions/lambda.rb
#node_function(id, props = {}) ⇒ Object
52 53 54 55 56 57 |
# File 'lib/jets/stack/main/extensions/lambda.rb', line 52 def node_function(id, props={}) meth = id.to_s.underscore props[:handler] ||= "#{meth}.handler" # default python convention props[:runtime] = "node8.10" function(id, props) end |