Sha256: cb4099daac2344ebe03893e8f298442720914e92ec311e230d4c9e59994d5910
Contents?: true
Size: 394 Bytes
Versions: 8
Compression:
Stored size: 394 Bytes
Contents
module Humidifier # Represents a CFN stack output class Output attr_accessor :description, :value def initialize(opts = {}) self.description = opts[:description] self.value = opts[:value] end # CFN stack syntax def to_cf cf = { 'Value' => Serializer.dump(value) } cf['Description'] = description if description cf end end end
Version data entries
8 entries across 8 versions & 1 rubygems