Method: Formatron::External#initialize

Defined in:
lib/formatron/external.rb

#initialize(aws:, target:, config:) ⇒ External

Returns a new instance of External.



20
21
22
23
24
25
26
27
# File 'lib/formatron/external.rb', line 20

def initialize(aws:, target:, config:)
  @aws = aws
  @target = target
  @config = config
  @local_config = Marshal.load Marshal.dump(@config)
  @formatron = Formatron::DSL::Formatron.new external: nil, aws: @aws
  @outputs = Outputs.new aws: @aws, target: @target
end