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

Version Path
jets-4.0.12 lib/jets/rule/base.rb
jets-4.0.11 lib/jets/rule/base.rb
jets-4.0.10 lib/jets/rule/base.rb
jets-4.0.9 lib/jets/rule/base.rb
jets-4.0.8 lib/jets/rule/base.rb
jets-4.0.7 lib/jets/rule/base.rb
jets-4.0.6 lib/jets/rule/base.rb
jets-4.0.5 lib/jets/rule/base.rb
jets-4.0.4 lib/jets/rule/base.rb
jets-4.0.3 lib/jets/rule/base.rb
jets-4.0.2 lib/jets/rule/base.rb
jets-4.0.1 lib/jets/rule/base.rb
jets-4.0.0 lib/jets/rule/base.rb
jets-3.2.2 lib/jets/rule/base.rb
jets-3.2.1 lib/jets/rule/base.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/rule/base.rb
jets-3.2.0 lib/jets/rule/base.rb
jets-3.1.5 lib/jets/rule/base.rb
jets-3.1.4 lib/jets/rule/base.rb
jets-3.1.3 lib/jets/rule/base.rb