Class: ChefVPCToolkit::CloudServersVPC::SshPublicKey
- Inherits:
-
Object
- Object
- ChefVPCToolkit::CloudServersVPC::SshPublicKey
- Defined in:
- lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
-
#server_group_id ⇒ Object
Returns the value of attribute server_group_id.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SshPublicKey
constructor
A new instance of SshPublicKey.
Constructor Details
#initialize(options = {}) ⇒ SshPublicKey
Returns a new instance of SshPublicKey.
12 13 14 15 16 17 18 19 |
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb', line 12 def initialize(={}) @id=[:id] @description=[:description] @public_key=[:public_key] @server_group_id=[:server_group_id] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb', line 8 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb', line 7 def id @id end |
#public_key ⇒ Object
Returns the value of attribute public_key.
9 10 11 |
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb', line 9 def public_key @public_key end |
#server_group_id ⇒ Object
Returns the value of attribute server_group_id.
10 11 12 |
# File 'lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb', line 10 def server_group_id @server_group_id end |