Sha256: 73250b2a9dc35e2245c6bd3a40f0993ff43be5f55e7dbfd2aa3d522ef8b4d9f1
Contents?: true
Size: 502 Bytes
Versions: 113
Compression:
Stored size: 502 Bytes
Contents
require 'json' # Base public methods get turned into Lambda functions. # # Jets::Rule::Base < Jets::Lambda::Functions # Both Jets::Rule::Base and Jets::Lambda::Functions have Dsl modules included. # So the Jets::Rule::Dsl overrides some of the Jets::Lambda::Functions behavior. module Jets::Rule class Base < Jets::Lambda::Functions include Dsl class << self def process(event, context, meth) job = new(event, context, meth) job.send(meth) end end end end
Version data entries
113 entries across 113 versions & 3 rubygems