Class: IControl::LocalLB::RateClass::RateUnit

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

Overview

A struct that describes rate and the unit being used.

Instance Attribute Summary collapse

Instance Attribute Details

#rateNumeric

The rate.

Returns:

  • (Numeric)

    the current value of rate



1262
1263
1264
# File 'lib/icontrol/local_lb/rate_class.rb', line 1262

def rate
  @rate
end

#unitIControl::LocalLB::RateClass::UnitType

The unit that the rate is expressed in.

Returns:



1262
1263
1264
# File 'lib/icontrol/local_lb/rate_class.rb', line 1262

def unit
  @unit
end