Class: DropletKit::Network
- Inherits:
-
Struct
- Object
- Struct
- DropletKit::Network
- Defined in:
- lib/droplet_kit/models/network.rb
Instance Attribute Summary collapse
-
#cidr ⇒ Object
Returns the value of attribute cidr.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#netmask ⇒ Object
Returns the value of attribute netmask.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#cidr ⇒ Object
Returns the value of attribute cidr
2 3 4 |
# File 'lib/droplet_kit/models/network.rb', line 2 def cidr @cidr end |
#gateway ⇒ Object
Returns the value of attribute gateway
2 3 4 |
# File 'lib/droplet_kit/models/network.rb', line 2 def gateway @gateway end |
#ip_address ⇒ Object
Returns the value of attribute ip_address
2 3 4 |
# File 'lib/droplet_kit/models/network.rb', line 2 def ip_address @ip_address end |
#netmask ⇒ Object
Returns the value of attribute netmask
2 3 4 |
# File 'lib/droplet_kit/models/network.rb', line 2 def netmask @netmask end |
#type ⇒ Object
Returns the value of attribute type
2 3 4 |
# File 'lib/droplet_kit/models/network.rb', line 2 def type @type end |