Sha256: 996b2ea59b2bd0f209575e455bcf8a5565ba72ac4884e49e9e893eb7c070f847

Contents?: true

Size: 430 Bytes

Versions: 5

Compression:

Stored size: 430 Bytes

Contents

require 'bora/cfn/change_set_action'

class Bora
  module Cfn
    class Change
      def initialize(change)
        @change = change
        @resource_change = @change.resource_change
        @action = ChangeSetAction.new(@resource_change.action, @resource_change.replacement)
      end

      def to_s
        "#{@action} - #{@resource_change.resource_type} - #{@resource_change.logical_resource_id}"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bora-1.7.4 lib/bora/cfn/change.rb
bora-1.7.3 lib/bora/cfn/change.rb
bora-1.7.2 lib/bora/cfn/change.rb
bora-1.7.1 lib/bora/cfn/change.rb
bora-1.7.0 lib/bora/cfn/change.rb