Sha256: 1c7546dbd034d921dff1f9779eb01164ff95dc971b069651028e35ab452eb9ba

Contents?: true

Size: 439 Bytes

Versions: 104

Compression:

Stored size: 439 Bytes

Contents

class Jets::Cfn::Builders
  class SharedBuilder < BaseChildBuilder
    def compose
      stack = @app_class.new # @app_class is subclass. IE: Alarm < Jets::Stack
      builder = Jets::Stack::Builder.new(stack)
      @template = builder.template # overwrite entire @template
    end

    # template_path is an interface method for Interface module
    def template_path
      Jets::Naming.shared_template_path(@app_class)
    end
  end
end

Version data entries

104 entries across 104 versions & 2 rubygems

Version Path
jets-0.10.0 lib/jets/cfn/builders/shared_builder.rb
jets-0.9.2 lib/jets/cfn/builders/shared_builder.rb
jets-0.9.1 lib/jets/cfn/builders/shared_builder.rb
jets-0.9.0 lib/jets/cfn/builders/shared_builder.rb