Class: DropletKit::Network

Inherits:
Struct
  • Object
show all
Defined in:
lib/droplet_kit/models/network.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cidrObject

Returns the value of attribute cidr

Returns:

  • (Object)

    the current value of cidr



2
3
4
# File 'lib/droplet_kit/models/network.rb', line 2

def cidr
  @cidr
end

#gatewayObject

Returns the value of attribute gateway

Returns:

  • (Object)

    the current value of gateway



2
3
4
# File 'lib/droplet_kit/models/network.rb', line 2

def gateway
  @gateway
end

#ip_addressObject

Returns the value of attribute ip_address

Returns:

  • (Object)

    the current value of ip_address



2
3
4
# File 'lib/droplet_kit/models/network.rb', line 2

def ip_address
  @ip_address
end

#netmaskObject

Returns the value of attribute netmask

Returns:

  • (Object)

    the current value of netmask



2
3
4
# File 'lib/droplet_kit/models/network.rb', line 2

def netmask
  @netmask
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'lib/droplet_kit/models/network.rb', line 2

def type
  @type
end