Class: IControl::Common::IPPortDefinition

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/common.rb,
lib/icontrol/common.rb

Overview

A struct that describes an IP address/port pair.

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

The IP Address.

Returns:

  • (String)

    the current value of address



149
150
151
# File 'lib/icontrol/common.rb', line 149

def address
  @address
end

#portNumeric

The port number.

Returns:

  • (Numeric)

    the current value of port



149
150
151
# File 'lib/icontrol/common.rb', line 149

def port
  @port
end