Class: Jets::Builders::ShimVars::Shared
- Defined in:
- lib/jets/builders/shim_vars/shared.rb
Instance Method Summary collapse
- #functions ⇒ Object
-
#handler_for(function_name) ⇒ Object
dont need function_name arg but keeping the same interface as parent class.
-
#initialize(fun) ⇒ Shared
constructor
fun is a Jets::Stack::Function.
- #js_path ⇒ Object
Methods inherited from Base
#bundled_zip, #rack_zip, #s3_bucket, #stage_area
Methods included from AwsServices
#cfn, #lambda, #logs, #s3, #s3_resource, #sns, #sts
Methods included from AwsServices::StackStatus
#stack_exists?, #stack_in_progress?
Constructor Details
#initialize(fun) ⇒ Shared
fun is a Jets::Stack::Function
16 17 18 |
# File 'lib/jets/builders/shim_vars/shared.rb', line 16 def initialize(fun) @fun = fun end |
Instance Method Details
#functions ⇒ Object
20 21 22 |
# File 'lib/jets/builders/shim_vars/shared.rb', line 20 def functions [@fun.meth] # function_names end |
#handler_for(function_name) ⇒ Object
dont need function_name arg but keeping the same interface as parent class
25 26 27 |
# File 'lib/jets/builders/shim_vars/shared.rb', line 25 def handler_for(function_name) @fun.handler_dest end |
#js_path ⇒ Object
29 30 31 |
# File 'lib/jets/builders/shim_vars/shared.rb', line 29 def js_path @fun.handler_dest end |