Class: Kytoon::Providers::CloudServersVPC::VpnNetworkInterface
- Inherits:
-
Object
- Object
- Kytoon::Providers::CloudServersVPC::VpnNetworkInterface
- Defined in:
- lib/kytoon/providers/cloud_servers_vpc/vpn_network_interface.rb
Instance Attribute Summary collapse
-
#ca_cert ⇒ Object
Returns the value of attribute ca_cert.
-
#client_cert ⇒ Object
Returns the value of attribute client_cert.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ptp_ip_addr ⇒ Object
Returns the value of attribute ptp_ip_addr.
-
#vpn_ip_addr ⇒ Object
Returns the value of attribute vpn_ip_addr.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ VpnNetworkInterface
constructor
A new instance of VpnNetworkInterface.
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(={}) @id=[:id].to_i @vpn_ip_addr=[:vpn_ip_addr] @ptp_ip_addr=[:ptp_ip_addr] @client_key=[:client_key] @client_cert=[:client_cert] @ca_cert=[:ca_cert] end |
Instance Attribute Details
#ca_cert ⇒ Object
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_cert ⇒ Object
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_key ⇒ Object
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 |
#id ⇒ Object
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_addr ⇒ Object
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_addr ⇒ Object
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 |