Class: Jets::Cfn::TemplateBuilders::FunctionProperties::RubyBuilder

Inherits:
BaseBuilder
  • Object
show all
Defined in:
lib/jets/cfn/template_builders/function_properties/ruby_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

Override this in subclasses like PythonBuilder. Dynamically generated handler.



9
10
11
# File 'lib/jets/cfn/template_builders/function_properties/ruby_builder.rb', line 9

def default_handler
  map.handler # IE: handlers/controllers/posts_controllers.index
end

#default_runtimeObject



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

def default_runtime
  "nodejs8.10" # using node shim for ruby support
end