Class: Kytoon::Providers::CloudServersVPC::VpnNetworkInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ VpnNetworkInterface

Returns a new instance of VpnNetworkInterface.



16
17
18
19
20
21
22
23
24
25
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 16

def initialize(options={})

  @id=options[:id].to_i
  @vpn_ip_addr=options[:vpn_ip_addr]
  @ptp_ip_addr=options[:ptp_ip_addr]
  @client_key=options[:client_key]
  @client_cert=options[:client_cert]
  @ca_cert=options[:ca_cert]

end

Instance Attribute Details

#ca_certObject

Returns the value of attribute ca_cert.



14
15
16
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 14

def ca_cert
  @ca_cert
end

#client_certObject

Returns the value of attribute client_cert.



13
14
15
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 13

def client_cert
  @client_cert
end

#client_keyObject

Returns the value of attribute client_key.



12
13
14
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 12

def client_key
  @client_key
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 9

def id
  @id
end

#ptp_ip_addrObject

Returns the value of attribute ptp_ip_addr.



11
12
13
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 11

def ptp_ip_addr
  @ptp_ip_addr
end

#vpn_ip_addrObject

Returns the value of attribute vpn_ip_addr.



10
11
12
# File 'lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb', line 10

def vpn_ip_addr
  @vpn_ip_addr
end