Class: IControl::Common::IPHost
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::Common::IPHost
- Defined in:
- lib/icontrol/common.rb,
lib/icontrol/common.rb
Overview
An struct that specifies either an explicit IP address, or a hostname.
Instance Attribute Summary collapse
-
#ip_or_host ⇒ String
The string representing either an IP address or a hostname.
-
#type ⇒ IControl::Common::IPHostType
An indicator of what type of value the ip_or_host string represents.
Instance Attribute Details
#ip_or_host ⇒ String
The string representing either an IP address or a hostname.
131 132 133 |
# File 'lib/icontrol/common.rb', line 131 def ip_or_host @ip_or_host end |
#type ⇒ IControl::Common::IPHostType
An indicator of what type of value the ip_or_host string represents.
131 132 133 |
# File 'lib/icontrol/common.rb', line 131 def type @type end |