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)

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

- (Numeric) days

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

- (Numeric) hours

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

- (Numeric) minutes

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

- (Numeric) seconds

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