Sha256: cbb7a90d28d351d6ff262dde35738dd5378cd121a50e3e3cf45f8ed321a5b8f4
Contents?: true
Size: 501 Bytes
Versions: 142
Compression:
Stored size: 501 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. class 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
142 entries across 142 versions & 2 rubygems
Version | Path |
---|---|
jets-0.5.1 | lib/jets/rule/base.rb |
jets-0.5.0 | lib/jets/rule/base.rb |