Class: Jets::Cfn::TemplateBuilders::FunctionProperties::NodeBuilder

Inherits:
BaseBuilder
  • Object
show all
Defined in:
lib/jets/cfn/template_builders/function_properties/node_builder.rb

Instance Method Summary collapse

Methods inherited from BaseBuilder

#class_properties, #env_file_properties, #finalize_properties!, #full_handler, #function_properties, #get_runtime, #global_properties, #initialize, #map, #properties

Constructor Details

This class inherits a constructor from Jets::Cfn::TemplateBuilders::FunctionProperties::BaseBuilder

Instance Method Details

#default_handlerObject



3
4
5
# File 'lib/jets/cfn/template_builders/function_properties/node_builder.rb', line 3

def default_handler
  @task.full_handler(:handler) # IE: handlers/controllers/posts/show.handler
end

#default_runtimeObject



8
9
10
# File 'lib/jets/cfn/template_builders/function_properties/node_builder.rb', line 8

def default_runtime
  "nodejs8.10"
end