Sha256: 36fc07611326518c869491128a5265d44c1662c22ec6a1711a8ce4c46de37921

Contents?: true

Size: 273 Bytes

Versions: 4

Compression:

Stored size: 273 Bytes

Contents

require "swa/resource"

module Swa
  module EC2

    class KeyPair < Resource

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

      def name
        aws_resource.name
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
swa-0.3.1 lib/swa/ec2/key_pair.rb
swa-0.3.0 lib/swa/ec2/key_pair.rb
swa-0.2.1 lib/swa/ec2/key_pair.rb
swa-0.2.0 lib/swa/ec2/key_pair.rb