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-2.1.1 lib/jets/rule/base.rb
jets-2.1.0 lib/jets/rule/base.rb
jets-2.0.6 lib/jets/rule/base.rb
jets-2.0.5 lib/jets/rule/base.rb
jets-2.0.4 lib/jets/rule/base.rb
jets-2.0.3 lib/jets/rule/base.rb
jets-2.0.1 lib/jets/rule/base.rb
jets-2.0.0 lib/jets/rule/base.rb
jets-1.9.32 lib/jets/rule/base.rb
jets-1.9.31 lib/jets/rule/base.rb
jets-1.9.30 lib/jets/rule/base.rb
jets-1.9.29 lib/jets/rule/base.rb
jets-1.9.28 lib/jets/rule/base.rb
jets-1.9.27 lib/jets/rule/base.rb
jets-1.9.26 lib/jets/rule/base.rb
jets-1.9.25 lib/jets/rule/base.rb
jets-1.9.24 lib/jets/rule/base.rb
jets-1.9.23 lib/jets/rule/base.rb
jets-1.9.22 lib/jets/rule/base.rb
jets-1.9.21 lib/jets/rule/base.rb