Sha256: 8eea2e9ca84f0a8740292a31e563f2160bb6257febab67a7fcfa3b682152fa49

Contents?: true

Size: 285 Bytes

Versions: 13

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module Humidifier
  # Builds CFN references
  class Ref
    attr_reader :reference

    def initialize(reference)
      @reference = reference
    end

    # Builds CFN syntax
    def to_cf
      { 'Ref' => Serializer.dump(reference) }
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
humidifier-4.1.1 lib/humidifier/ref.rb
humidifier-4.0.2 lib/humidifier/ref.rb
humidifier-4.0.1 lib/humidifier/ref.rb
humidifier-4.0.0 lib/humidifier/ref.rb
humidifier-3.5.0 lib/humidifier/ref.rb
humidifier-3.4.0 lib/humidifier/ref.rb
humidifier-3.3.0 lib/humidifier/ref.rb
humidifier-3.2.0 lib/humidifier/ref.rb
humidifier-3.1.0 lib/humidifier/ref.rb
humidifier-3.0.1 lib/humidifier/ref.rb
humidifier-3.0.0 lib/humidifier/ref.rb
humidifier-2.15.0 lib/humidifier/ref.rb
humidifier-2.6.0 lib/humidifier/ref.rb