Sha256: efca20f9353043993cb9a300465fa311625ed613f2c08983fe96cbe933650604

Contents?: true

Size: 298 Bytes

Versions: 6

Compression:

Stored size: 298 Bytes

Contents

require "swa/resource"

module Swa
  module EC2

    class KeyPair < Resource

      def summary
        [
          pad(name, 44),
          aws_resource.key_fingerprint
        ].join("  ")
      end

      def name
        aws_resource.name
      end

      delegate :delete

    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
swa-0.6.0 lib/swa/ec2/key_pair.rb
swa-0.5.2 lib/swa/ec2/key_pair.rb
swa-0.5.1 lib/swa/ec2/key_pair.rb
swa-0.5.0 lib/swa/ec2/key_pair.rb
swa-0.4.4 lib/swa/ec2/key_pair.rb
swa-0.4.3 lib/swa/ec2/key_pair.rb