Class: IControl::Common::Expiration

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

Overview

A struct that describes an expiration period.

Instance Attribute Summary collapse

Instance Attribute Details

#daysNumeric

The number of days until expiration.

Returns:

  • (Numeric)

    the current value of days



120
121
122
# File 'lib/icontrol/common.rb', line 120

def days
  @days
end

#hoursNumeric

The number of hours until expiration.

Returns:

  • (Numeric)

    the current value of hours



120
121
122
# File 'lib/icontrol/common.rb', line 120

def hours
  @hours
end

#minutesNumeric

The number of minutes until expiration.

Returns:

  • (Numeric)

    the current value of minutes



120
121
122
# File 'lib/icontrol/common.rb', line 120

def minutes
  @minutes
end

#secondsNumeric

The number of seconds until expiration.

Returns:

  • (Numeric)

    the current value of seconds



120
121
122
# File 'lib/icontrol/common.rb', line 120

def seconds
  @seconds
end