Class: ChefVPCToolkit::CloudServersVPC::SshPublicKey

Inherits:
Object
  • Object
show all
Defined in:
lib/chef-vpc-toolkit/cloud-servers-vpc/ssh_public_key.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options={})

		@id=options[:id]
		@description=options[:description]
		@public_key=options[:public_key]
		@server_group_id=options[:server_group_id]

end

Instance Attribute Details

#descriptionObject

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

#idObject

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_keyObject

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_idObject

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