Class: Awsum::Ec2::KeyPair

Inherits:
Object show all
Defined in:
lib/awsum/ec2/keypair.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ec2, name, fingerprint, material) ⇒ KeyPair

Returns a new instance of KeyPair.



8
9
10
11
12
13
# File 'lib/awsum/ec2/keypair.rb', line 8

def initialize(ec2, name, fingerprint, material)
  @ec2 = ec2
  @name = name
  @fingerprint = fingerprint
  @material = material
end

Instance Attribute Details

#fingerprintObject (readonly)

Returns the value of attribute fingerprint.



6
7
8
# File 'lib/awsum/ec2/keypair.rb', line 6

def fingerprint
  @fingerprint
end

#materialObject (readonly)

Returns the value of attribute material.



6
7
8
# File 'lib/awsum/ec2/keypair.rb', line 6

def material
  @material
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/awsum/ec2/keypair.rb', line 6

def name
  @name
end