Sha256: 3f84432f9a8d322dfa3be2b9ca2196e2049e34863079dc58ec5146b278935de3

Contents?: true

Size: 235 Bytes

Versions: 28

Compression:

Stored size: 235 Bytes

Contents

require "swa/resource"

module Swa
  module EC2

    module TaggedResource

      def tags
        aws_resource.tags.each_with_object({}) do |tag, result|
          result[tag.key] = tag.value
        end
      end

    end

  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
swa-0.8.3 lib/swa/ec2/tagged_resource.rb
swa-0.8.2 lib/swa/ec2/tagged_resource.rb
swa-0.8.1 lib/swa/ec2/tagged_resource.rb
swa-0.8.0 lib/swa/ec2/tagged_resource.rb
swa-0.7.7 lib/swa/ec2/tagged_resource.rb
swa-0.7.6 lib/swa/ec2/tagged_resource.rb
swa-0.7.5 lib/swa/ec2/tagged_resource.rb
swa-0.7.4 lib/swa/ec2/tagged_resource.rb
swa-0.7.3 lib/swa/ec2/tagged_resource.rb
swa-0.7.2 lib/swa/ec2/tagged_resource.rb
swa-0.7.1 lib/swa/ec2/tagged_resource.rb
swa-0.7.0 lib/swa/ec2/tagged_resource.rb
swa-0.6.1 lib/swa/ec2/tagged_resource.rb
swa-0.6.0 lib/swa/ec2/tagged_resource.rb
swa-0.5.2 lib/swa/ec2/tagged_resource.rb
swa-0.5.1 lib/swa/ec2/tagged_resource.rb
swa-0.5.0 lib/swa/ec2/tagged_resource.rb
swa-0.4.4 lib/swa/ec2/tagged_resource.rb
swa-0.4.3 lib/swa/ec2/tagged_resource.rb
swa-0.4.2 lib/swa/ec2/tagged_resource.rb