Class: Kytoon::Providers::CloudServersVPC::SshPublicKey
- Inherits:
-
Object
- Object
- Kytoon::Providers::CloudServersVPC::SshPublicKey
- Defined in:
- lib/kytoon/providers/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.
14 15 16 17 18 19 20 21 |
# File 'lib/kytoon/providers/cloud_servers_vpc/ssh_public_key.rb', line 14 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.
10 11 12 |
# File 'lib/kytoon/providers/cloud_servers_vpc/ssh_public_key.rb', line 10 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/kytoon/providers/cloud_servers_vpc/ssh_public_key.rb', line 9 def id @id end |
#public_key ⇒ Object
Returns the value of attribute public_key.
11 12 13 |
# File 'lib/kytoon/providers/cloud_servers_vpc/ssh_public_key.rb', line 11 def public_key @public_key end |
#server_group_id ⇒ Object
Returns the value of attribute server_group_id.
12 13 14 |
# File 'lib/kytoon/providers/cloud_servers_vpc/ssh_public_key.rb', line 12 def server_group_id @server_group_id end |