Class: Awsum::Ec2::KeyPair
Instance Attribute Summary collapse
-
#fingerprint ⇒ Object
readonly
Returns the value of attribute fingerprint.
-
#material ⇒ Object
readonly
Returns the value of attribute material.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(ec2, name, fingerprint, material) ⇒ KeyPair
constructor
A new instance of KeyPair.
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
#fingerprint ⇒ Object (readonly)
Returns the value of attribute fingerprint.
6 7 8 |
# File 'lib/awsum/ec2/keypair.rb', line 6 def fingerprint @fingerprint end |
#material ⇒ Object (readonly)
Returns the value of attribute material.
6 7 8 |
# File 'lib/awsum/ec2/keypair.rb', line 6 def material @material end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/awsum/ec2/keypair.rb', line 6 def name @name end |