Method: Jets::Lambda::Functions#initialize

Defined in:
lib/jets/lambda/functions.rb

#initialize(event, context, meth) ⇒ Functions

Returns a new instance of Functions.



11
12
13
14
15
16
17
# File 'lib/jets/lambda/functions.rb', line 11

def initialize(event, context, meth)
  @event = event # Hash, JSON.parse(event) ran BaseProcessor
  @context = context # Hash. JSON.parse(context) ran in BaseProcessor
  @meth = meth
  # store meth because it is useful to for identifying the which template
  # to use later.
end