Sha256: 9d1aea1190731e0892f4d85e28323666b0b4b228286204c1f0e2b1b64a187689
Contents?: true
Size: 687 Bytes
Versions: 52
Compression:
Stored size: 687 Bytes
Contents
require 'json' # Jets::Lambda::Functions represents a collection of Lambda functions. # # Jets::Lambda::Functions is the superclass of: # Jets::Controller::Base # Jets::Job::Base module Jets::Lambda class Functions attr_reader :event, :context, :meth 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 include Dsl # At the end so methods like event, context and method # do not trigger method_added end end
Version data entries
52 entries across 52 versions & 1 rubygems